-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work on Windows #61
Comments
👍 Really want to use it on Windows, but errors out: npm ERR! Error: ENOENT, chmod 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\cookies\node_modules\keygrip\test.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\cookies\node_
modules\keygrip\test.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\cooki
es\node_modules\keygrip\test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\request\node_modules\hawk\test\index.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\request\node_
modules\hawk\test\index.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\reque
st\node_modules\hawk\test\index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\request\node_modules\form-data\node_modules\combined-stream\test\fixture\fil
e2.txt'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\request\node_
modules\form-data\node_modules\combined-stream\test\fixture\file2.txt
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\reque
st\node_modules\form-data\node_modules\combined-stream\test\fixture\file2.txt
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\request\node_modules\form-data\node_modules\async\lib\async.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\request\node_
modules\form-data\node_modules\async\lib\async.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\reque
st\node_modules\form-data\node_modules\async\lib\async.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: EPERM, unlink 'D:\apps\NWM\nodejs\node_module
s\sinopia\node_modules\js-yaml\node_modules\esprima\esprima.js'
npm ERR! error rolling back sinopia@0.7.1 { [Error: EPERM, unlink 'D:\apps\NWM\
nodejs\node_modules\sinopia\node_modules\js-yaml\node_modules\esprima\esprima.js
']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: 'D:\\apps\\NWM\\nodejs\\node_modules\\sinopi
a\\node_modules\\js-yaml\\node_modules\\esprima\\esprima.js' }
npm ERR! fs-ext@0.3.2 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fs-ext@0.3.2 install script.
npm ERR! This is most likely a problem with the fs-ext package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls fs-ext
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\request\node_modules\tough-cookie\lib\pubsuffix.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\request\node_
modules\tough-cookie\lib\pubsuffix.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\reque
st\node_modules\tough-cookie\lib\pubsuffix.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\request\node_modules\http-signature\node_modules\ctype\ctype.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\request\node_
modules\http-signature\node_modules\ctype\ctype.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\reque
st\node_modules\http-signature\node_modules\ctype\ctype.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\js-yaml\node_modules\argparse\lib\action_container.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\js-yaml\node_
modules\argparse\lib\action_container.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\js-ya
ml\node_modules\argparse\lib\action_container.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm WARN optional dep failed, continuing http-signature@0.10.0
npm ERR! Error: ENOENT, lstat 'D:\apps\NWM\nodejs\node_modules\sinopia\node_modu
les\js-yaml\node_modules\esprima\esprima.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\apps\\NWM\\nodejs\\\\node.exe" "D:\\apps\\NWM\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "install" "sinopia"
npm ERR! cwd D:\apps\NWM\nodejs
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.26
npm ERR! path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\js-yaml\node_
modules\esprima\esprima.js
npm ERR! fstream_path D:\apps\NWM\nodejs\node_modules\sinopia\node_modules\js-ya
ml\node_modules\esprima\esprima.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\apps\NWM\nodejs\node_modules\npm\node_modules\fstream\
lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) |
I made File locking is used to protect against multiple users publishing/installing different versions of the same package simultaneously, and since windows is used in single-user environments anyway, I guess you'll be fine without it. |
You are right, it did make the trick! |
In windows I get the following error when I do NPM install of sinopia. Can you please let me know how to have a work around it. With this error server still runs but when I try to do add user I get "Unable to parse json" error |
full npm logs, please... it's hard to say anything without them |
Here is more information.. please let me know if you need debug level information, i can send you the npm-debug.log as well. I am on Windows 8.1 machine and I also tried in windows 7 machine i am on nodev0.10.28 npm http GET https://registry.npmjs.org/fs-ext
D:\sandbox\node_modules\sinopia\node_modules\crypt3>node "C:\Program Files (x86) ..\crypt3.cc(6): fatal error C1083: Cannot open include file: 'unistd.h': No su
|
I guess that's because there is a problem with this file so it cannot load the dependencies? Did you try to clear the cache? |
I think it's better to go to https://github.com/npm/npm with |
Since I got it running properly, I would most likekly to close it. However, I was not the one opening it originally. |
i cleared npm cache and did an install but it still failed :( |
btw it works fine in linux |
Not working for me on windows. Install fails all over the place. |
Is this still an open issue? b/c evaluating for primarily Windows domain this does not look good |
I believe I have answered my own question: Attempt at Windows install has gone something like this:
|
When running on Windows, the first attempt to publish a package crashes the whole process via a C/C++ error.
See baudehlo/node-fs-ext#30 for more details.
The text was updated successfully, but these errors were encountered: