xolvio / rtd

DEPRECATED: The Test Runner for Meteor
164 stars 37 forks source link

ENOENT error during npm install #168

Open aramk opened 10 years ago

aramk commented 10 years ago

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!     <npm-@googlegroups.com>

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 commented 10 years ago

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  rtd@0.0.1 { [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!     <npm-@googlegroups.com>

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

samhatoum commented 10 years ago

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

aramk commented 10 years ago

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