Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Support installation on windows #43

Closed
braydonf opened this issue Oct 4, 2017 · 7 comments
Closed

Support installation on windows #43

braydonf opened this issue Oct 4, 2017 · 7 comments

Comments

@braydonf
Copy link
Contributor

braydonf commented Oct 4, 2017

There is most likely going to be an issue on windows when installing, as the downloaded release is a zip file instead of a tarball, and we'll need to switch to use zip command, at https://github.com/Storj/node-libstorj/blob/master/download.js#L47

Would cygwin be used here, and bash scripts would work?

@graphenepay
Copy link

Issue confirmed on Windows setup.

@braydonf braydonf changed the title Test installation on windows Support installation on windows Oct 28, 2017
@seekerlee
Copy link
Contributor

multiple issues with windows.

  • download/unzip not working
  • not compiling because some linux-only functions being used (access function) and some other.
  • not linking (it seems nettle and some other link fails)

I will work on this recently. Just FYI what I found now.

@dittops
Copy link

dittops commented Jan 24, 2018

Do we have a solution for this issue?

@tolstenko
Copy link

I got same error using MSYS2 enviroment.

Running
npm install github:storj/node-libstorj --save
On Windows 10

npm ERR! argv "C:\\msys64\\mingw64\\bin\\node.exe" "C:\\msys64\\mingw64\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install" "github:storj/node-libstorj" "--save"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! storj@5.1.0 preinstall: `node ./download.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the storj@5.1.0 preinstall script 'node ./download.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the storj package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./download.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs storj
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls storj
npm ERR! There is likely additional logging output above.

@hunterInt
Copy link

I'm getting the same error on windows 64bit: (is there any solution for this yet? Or when will Storj be stable for windows?)

storj@5.1.0 preinstall C:\Users\hunter\Documents\vid\node_modules\storj

node ./download.js
Unable to download libstorj for platform: win32 and arch: x64
npm WARN vid@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! storj@5.1.0 preinstall: node ./download.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the storj@5.1.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hunter\AppData\Roaming\npm-cache_logs\2018-03-24T20_59_10_765Z-debug.log

@hAbd0u
Copy link

hAbd0u commented May 30, 2018

I have the same error too.

l:\gitrepo\keeweb>npm install github:storj/node-libstorj --save

> storj@5.1.0 preinstall l:\gitrepo\keeweb\node_modules\storj
> node ./download.js

'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
Unable to download libstorj for platform: win32 and arch: x64
npm WARN uglify-loader@2.0.0 requires a peer of uglify-js@^2.4.16 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: grunt-appdmg@0.4.0 (node_modules\grunt-appdmg):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for grunt-appdmg@0.4.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-xattr@0.1.17 (node_modules\fs-xattr):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fs-xattr@0.1.17: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: appdmg@0.4.5 (node_modules\appdmg):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for appdmg@0.4.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! storj@5.1.0 preinstall: `node ./download.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the storj@5.1.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Mr B\AppData\Roaming\npm-cache\_logs\2018-05-30T02_40_21_535Z-debug.log

@RichardLitt
Copy link
Contributor

👋 Hey! Thanks for this contribution. Apologies for the delay in responding!

We've decided to rearchitect Storj, so that we can scale better. You can read more about this decision here. This means that we are entirely focused on v3 at the moment, in the storj/storj repository. Our white paper for v3 is coming very, very soon - follow along on the blog and in our Rocketchat.

As this repository is part of the v2 network, we're no longer maintaining this repository. I am going to close this for now. If you have any questions, I encourage you to jump on Rocketchat and ask them there. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants