-
Notifications
You must be signed in to change notification settings - Fork 436
npm install failure on windows 7 x64 #290
Comments
bump! |
i was not able to reproduce your issue. can you include the full error log? also notice that github markdown mangled your error report, can you reformat it (surround it in triple backticks) so that people can actually read it? |
Hi Nicks, Thanks for coming back to me. Could you please explain how can I get the full error log? Regards |
|
Thanks, I will do this right after I go home (in about 2 hours as I am at work right now) and will post the result in an EDIT of this post. Cheers |
I am seeing the same issue on our CI servers. It happens once every 10 or 11 builds and there is no discernable pattern to it. It will succeed 9 out of 10 on the same build agent. It is giving us a lot of false failures in our CI environment. This all started about 3 weeks ago. In the stack traces below you'll see the same failure on:[path]\common\html\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>node "N:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild You'll also see that in the builderror.log of node-gyp that it actually fails on, it tells us that it can't find Python. However, I ran it against the same build agent, 20-30 times and it succeeds 9 out of 10 times. The build agent's configuration is identical each time. The failures come in the middle, not the beginning or end of the series. The 9 out of 10 thing suggests a race condition of some kind. Usually we just build again, and it succeeds. I am completely stumped. Here are a stack traces from Jenkins: When I get down into the module it seems to fail on, the "ws" module, and look at the builderror.log it says the following: |
@BrianLenzo this has nothing to do with @fabric1601 's issue, or with phantomjs. |
given that no one else has seen this and we have no repro steps or detailed log, closing this bug |
I have the same issue... this is the log I get from verbose
|
Hey guys,
Im kind of new around npm and was trying to install Bootstrap on my machine (Windows 7 Ultimate N x64). So I installed node.js and installed npm. So according to the Bootstrap's site, when installing Grunt I should navigate to the bootstrap directory and run npm install.
However, when I do that, I get the following:
F:\My Documents\My Web Sites\PersonalPortfolio\Source\bootstrap-3.3.2>npm instal
l
/
///> phantomjs@1.9.15 install F:\My Documents\My Web Sites\PersonalPortfolio\Source
\bootstrap-3.3.2\node_modules\grunt-contrib-qunit\node_modules\grunt-lib-phantom
js\node_modules\phantomjs
///> node install.js
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-wind
ows.zip
Saving to C:\Users\LORD_C
1\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows1\AppData\Local\Temp\phantomjs\phantomj.zip
Receiving...
///- [====================================----] 91% 0.0s-
Received 7292K total.
Extracting zip contents
Removing F:\My Documents\My Web Sites\PersonalPortfolio\Source\bootstrap-3.3.2\n
ode_modules\grunt-contrib-qunit\node_modules\grunt-lib-phantomjs\node_modules\ph
antomjs\lib\phantom
Copying extracted folder C:\Users\LORD_C
s-1.9.8-windows.zip-extract-1422911296538\phantomjs-1.9.8-windows -> F:\My Docum
ents\My Web Sites\PersonalPortfolio\Source\bootstrap-3.3.2\node_modules\grunt-co
ntrib-qunit\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom
Phantom installation failed { [Error: ENOENT, mkdir 'F:\My Documents\My Web Site
s\PersonalPortfolio\Source\bootstrap-3.3.2\node_modules\grunt-contrib-qunit\node
modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom\examples']
errno: 34,
code: 'ENOENT',
path: 'F:\My Documents\My Web Sites\PersonalPortfolio\Source\bootstrap-3.
3.2\node_modules\grunt-contrib-qunit\node_modules\grunt-lib-phantomjs\node
modules\phantomjs\lib\phantom\examples' } Error: ENOENT, mkdir 'F:\My Docume
nts\My Web Sites\PersonalPortfolio\Source\bootstrap-3.3.2\node_modules\grunt-con
trib-qunit\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom\e
xamples'
npm ERR! phantomjs@1.9.15 install:
node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.15 install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd F:\My Documents\My Web Sites\PersonalPortfolio\Source\bootstrap-3.3
.2
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
F:\My Documents\My Web Sites\PersonalPortfolio\Source\bootstrap-3.3.2>
I have seen that similar issue has happened 5 days ago, but apparently it was fixed, but unfortunately for a newbie like me, I am clueless as to what might cause the issue on my system.
This is my current PATH env:
C:\Ruby193\bin;C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;C:\Program Files (x86)\Git\bin;c:\Program Files\Java\jre7\bin;C:\Program Files\nodejs;C:\Users\Lord_Chade\AppData\Roaming\npm
Please help
The text was updated successfully, but these errors were encountered: