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

ENOENT error during npm install #168

Open
aramk opened this issue Jun 1, 2014 · 3 comments
Open

ENOENT error during npm install #168

aramk opened this issue Jun 1, 2014 · 3 comments

Comments

@aramk
Copy link

aramk commented Jun 1, 2014

I get several issues with running npm install:

npm ERR! Error: ENOENT, lstat '/Users/Aram/Development/Work/Ewash/meteor-rtd-example-project/node_modules/rtd/node_modules/grunt-coffeelint/node_modules/coffeelint/node_modules/coffee-script/lib/coffee-script/nodes.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Darwin 13.2.0
npm ERR! command "/usr/local/Cellar/node/0.10.5/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/Aram/Development/Work/Ewash/meteor-rtd-example-project
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path /Users/Aram/Development/Work/Ewash/meteor-rtd-example-project/node_modules/rtd/node_modules/grunt-coffeelint/node_modules/coffeelint/node_modules/coffee-script/lib/coffee-script/nodes.js
npm ERR! fstream_path /Users/Aram/Development/Work/Ewash/meteor-rtd-example-project/node_modules/rtd/node_modules/grunt-coffeelint/node_modules/coffeelint/node_modules/coffee-script/lib/coffee-script/nodes.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/Cellar/node/0.10.5/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)

I am attempting to follow the instructions for using the sample project at https://github.com/xolvio/meteor-rtd-example-project.

@aramk
Copy link
Author

aramk commented Jun 1, 2014

Also several more errors appear like:

npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/Aram/Development/Work/Ewash/meteor-rtd-example-project/node_modules/rtd/node_modules/request'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/Users/Aram/Development/Work/Ewash/meteor-rtd-example-project/node_modules/rtd/node_modules/request']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/Users/Aram/Development/Work/Ewash/meteor-rtd-example-project/node_modules/rtd/node_modules/request' }
npm ERR! Error: No compatible version found: minimatch@'^0.3.0'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.4","0.0.5","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.2.0","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.3.0"]
npm ERR!     at installTargetsError (/usr/local/Cellar/node/0.10.5/lib/node_modules/npm/lib/cache.js:685:10)
npm ERR!     at /usr/local/Cellar/node/0.10.5/lib/node_modules/npm/lib/cache.js:607:10
npm ERR!     at RegClient.get_ (/usr/local/Cellar/node/0.10.5/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:101:14)
npm ERR!     at RegClient.<anonymous> (/usr/local/Cellar/node/0.10.5/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:37:12)
npm ERR!     at fs.js:266:14
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

It seems to be trying to remove a directory which isn't empty.

@samhatoum
Copy link
Member

Not seen this one before. Have you tried to wipe the whole example and retry the process?

@aramk
Copy link
Author

aramk commented Jun 2, 2014

Yeah I removed the node_modules folder and also ran in sudo mode but without luck. Tried on a different network also.

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

2 participants