Skip to content
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

Windows: npm install #68

Closed
raDiesle opened this issue Sep 10, 2014 · 3 comments
Closed

Windows: npm install #68

raDiesle opened this issue Sep 10, 2014 · 3 comments

Comments

@raDiesle
Copy link

I got some issues:

npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"})
npm ERR! fetch failed http://registry.npmjs.org/collections/-/collections-0.2.2.tgz
npm ERR! EEXIST, mkdir 'C:\dab-web\node_modules\dgeni-packages\node_modules\winston\no
de_modules\request\tests\ssl\ca'
File exists: C:\dab-web\node_modules\dgeni-packages\node_modules\winston\node_modules
request\tests\ssl\ca
Move it away, and try again.

npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--save
-dev" "dgeni" "dgeni-packages"
npm ERR! cwd C:\dev\svn\web3\dab-enterprise\branches\angulartemplate\dab-portal\dab-web
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:\dev\svn\web3\dab-enterprise\branches\angulartemplate\dab-portal\dab-web\node_modules\dgeni-packages\node_modules\winston\node_modules
\request\tests\ssl\ca
npm ERR! fstream_path C:\dev\svn\web3\dab-enterprise\branches\angulartemplate\dab-portal\dab-web\node_modules\dgeni-packages\node_modules\winston\node
_modules\request\tests\ssl\ca\server.crt
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:171:23
npm ERR! fstream_stack C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\mkdirp\index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: EPERM, unlink 'C:\dev\svn\web3\dab-enterprise\branches\angulartemplate\dab-portal\dab-web\node_modules\dgeni-packag
es\node_modules\esprima\test\test.js'
npm ERR! error rolling back dgeni-packages@0.10.0-rc.2 { [Error: EPERM, unlink 'C:\dev\svn\web3\dab-enterprise\branches\angulartemplate\dab-portal\da
b-web\node_modules\dgeni-packages\node_modules\esprima\test\test.js']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: 'C:\dev\svn\web3\dab-enterprise\branches\angulartemplate\dab-portal\dab-web\node_modules\dgeni-packages
\node_modules\esprima\test\test.js' }
npm ERR! Error: 400 Bad Request
npm ERR! at WriteStream. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\fetch.js:58:12)
npm ERR! at WriteStream.emit (events.js:117:20)
npm ERR! at fs.js:1603:14
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:105:5
npm ERR! at Object.oncomplete (fs.js:107:15)

@forresst
Copy link
Contributor

Hi @raDiesle,

For release 0.10.0-rc.2, I tested with the same version of Node on windows 7, I have no problem.

I advise you the following manipulations in your directory (C:\dab-web) with the terminal windows (Run as administrator):

  • Delete the folder node_module (rmdir node_modules /S)
  • Clean the npm cache (npm cache clean)
  • Run again install (npm install)

Hoping that this will solve the problem.

@petebacondarwin
Copy link
Member

I tested on Win 8 and it works for me too. I think @forresst's idea is a good one.

@petebacondarwin
Copy link
Member

Closing for now since there has not been a response for some time.

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

No branches or pull requests

3 participants