{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/5874","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/5874/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/5874/comments","events_url":"https://api.github.com/repos/npm/npm/issues/5874/events","html_url":"https://github.com/npm/npm/issues/5874","id":39439343,"number":5874,"title":"Whole npm install fails","user":{"login":"brentax","id":2107342,"avatar_url":"https://avatars.githubusercontent.com/u/2107342?v=3","gravatar_id":"","url":"https://api.github.com/users/brentax","html_url":"https://github.com/brentax","followers_url":"https://api.github.com/users/brentax/followers","following_url":"https://api.github.com/users/brentax/following{/other_user}","gists_url":"https://api.github.com/users/brentax/gists{/gist_id}","starred_url":"https://api.github.com/users/brentax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentax/subscriptions","organizations_url":"https://api.github.com/users/brentax/orgs","repos_url":"https://api.github.com/users/brentax/repos","events_url":"https://api.github.com/users/brentax/events{/privacy}","received_events_url":"https://api.github.com/users/brentax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"000000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-04T16:54:16Z","updated_at":"2016-06-16T22:37:45Z","closed_at":"2014-08-04T17:16:26Z","body":"I've tried two different ways of installing node/npm on an Ubuntu guest using Vagrant. The first version could only install about half of my dependencies. Then I ran this:\r\n```bash\r\nsudo apt-get update\r\nsudo apt-get install -y python-software-properties\r\nsudo add-apt-repository ppa:chris-lea/node.js\r\nsudo apt-get update\r\nsudo apt-get install nodejs\r\n```\r\nAnd npm install fails entirely with this output:\r\n\r\n```bash\r\nnpm WARN package.json foodcoop-api@0.0.0 No repository field.\r\nnpm ERR! Error: ENOENT, chmod '/vagrant/node_modules/restify/node_modules/dtrace\r\n-provider/binding.gyp'\r\nnpm ERR! If you need help, you may report this *entire* log,\r\nnpm ERR! including the npm and node versions, at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! System Linux 3.2.0-23-generic-pae\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /vagrant\r\nnpm ERR! node -v v0.10.30\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! path /vagrant/node_modules/restify/node_modules/dtrace-provider/binding\r\n.gyp\r\nnpm ERR! fstream_path /vagrant/node_modules/restify/node_modules/dtrace-provider\r\n/binding.gyp\r\nnpm ERR! fstream_type File\r\nnpm ERR! fstream_class FileWriter\r\nnpm ERR! fstream_finish_call chmod\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno 34\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer\r\n.js:305:19\r\nnpm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)\r\nnpm ERR! error rolling back Error: ETXTBSY, unlink '/vagrant/node_modules/restif\r\ny/node_modules/bunyan/docs/index.html'\r\nnpm ERR! error rolling back  restify@2.8.1 { [Error: ETXTBSY, unlink '/vagrant/n\r\node_modules/restify/node_modules/bunyan/docs/index.html']\r\nnpm ERR! error rolling back   errno: 62,\r\nnpm ERR! error rolling back   code: 'ETXTBSY',\r\nnpm ERR! error rolling back   path: '/vagrant/node_modules/restify/node_modules/\r\nbunyan/docs/index.html' }\r\nnpm ERR! Error: UNKNOWN, symlink '../semver/bin/semver'\r\nnpm ERR! If you need help, you may report this *entire* log,\r\nnpm ERR! including the npm and node versions, at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! System Linux 3.2.0-23-generic-pae\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /vagrant\r\nnpm ERR! node -v v0.10.30\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! path ../semver/bin/semver\r\nnpm ERR! code UNKNOWN\r\nnpm ERR! errno -1\r\nnpm ERR! error rolling back Error: ETXTBSY, unlink '/vagrant/node_modules/jasmin\r\ne-node/node_modules/jasmine-reporters/ext/env.rhino.1.2.js'\r\nnpm ERR! error rolling back  jasmine-node@1.14.5 { [Error: ETXTBSY, unlink '/vag\r\nrant/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/env.rhino.1.2.\r\njs']\r\nnpm ERR! error rolling back   errno: 62,\r\nnpm ERR! error rolling back   code: 'ETXTBSY',\r\nnpm ERR! error rolling back   path: '/vagrant/node_modules/jasmine-node/node_mod\r\nules/jasmine-reporters/ext/env.rhino.1.2.js' }\r\nnpm ERR! EEXIST, mkdir '/vagrant/node_modules/jasmine-node/node_modules/gaze/nod\r\ne_modules/fileset/node_modules/glob/test'\r\nFile exists: /vagrant/node_modules/jasmine-node/node_modules/gaze/node_modules/f\r\nileset/node_modules/glob/test\r\nMove it away, and try again.\r\n\r\nnpm ERR! System Linux 3.2.0-23-generic-pae\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /vagrant\r\nnpm ERR! node -v v0.10.30\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! path /vagrant/node_modules/jasmine-node/node_modules/gaze/node_modules/\r\nfileset/node_modules/glob/test\r\nnpm ERR! fstream_path /vagrant/node_modules/jasmine-node/node_modules/gaze/node_\r\nmodules/fileset/node_modules/glob/test/mark.js\r\nnpm ERR! fstream_type File\r\nnpm ERR! fstream_class FileWriter\r\nnpm ERR! code EEXIST\r\nnpm ERR! errno 47\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer\r\n.js:171:23\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37\r\n:53\r\nnpm ERR! fstream_stack Object.oncomplete (fs.js:107:15)\r\nnpm ERR! error rolling back Error: ETXTBSY, unlink '/vagrant/node_modules/jshint\r\n/node_modules/cli/cli.js'\r\nnpm ERR! error rolling back  jshint@2.5.2 { [Error: ETXTBSY, unlink '/vagrant/no\r\nde_modules/jshint/node_modules/cli/cli.js']\r\nnpm ERR! error rolling back   errno: 62,\r\nnpm ERR! error rolling back   code: 'ETXTBSY',\r\nnpm ERR! error rolling back   path: '/vagrant/node_modules/jshint/node_modules/c\r\nli/cli.js' }\r\nnpm ERR! EEXIST, mkdir '/vagrant/node_modules/jshint/node_modules/htmlparser2/li\r\nb'\r\nFile exists: /vagrant/node_modules/jshint/node_modules/htmlparser2/lib\r\nMove it away, and try again.\r\n\r\nnpm ERR! System Linux 3.2.0-23-generic-pae\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /vagrant\r\nnpm ERR! node -v v0.10.30\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! path /vagrant/node_modules/jshint/node_modules/htmlparser2/lib\r\nnpm ERR! fstream_path /vagrant/node_modules/jshint/node_modules/htmlparser2/lib/\r\nProxyHandler.js\r\nnpm ERR! fstream_type File\r\nnpm ERR! fstream_class FileWriter\r\nnpm ERR! code EEXIST\r\nnpm ERR! errno 47\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer\r\n.js:171:23\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37\r\n:53\r\nnpm ERR! fstream_stack Object.oncomplete (fs.js:107:15)\r\nnpm ERR! EEXIST, mkdir '/vagrant/node_modules/jshint/node_modules/exit/test/fixt\r\nures'\r\nFile exists: /vagrant/node_modules/jshint/node_modules/exit/test/fixtures\r\nMove it away, and try again.\r\n\r\nnpm ERR! System Linux 3.2.0-23-generic-pae\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /vagrant\r\nnpm ERR! node -v v0.10.30\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! path /vagrant/node_modules/jshint/node_modules/exit/test/fixtures\r\nnpm ERR! fstream_path /vagrant/node_modules/jshint/node_modules/exit/test/fixtur\r\nes/log-broken.js\r\nnpm ERR! fstream_type File\r\nnpm ERR! fstream_class FileWriter\r\nnpm ERR! code EEXIST\r\nnpm ERR! errno 47\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer\r\n.js:171:23\r\nnpm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37\r\n:53\r\nnpm ERR! fstream_stack Object.oncomplete (fs.js:107:15)\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /vagrant/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/226634063","html_url":"https://github.com/npm/npm/issues/5874#issuecomment-226634063","issue_url":"https://api.github.com/repos/npm/npm/issues/5874","id":226634063,"user":{"login":"brentax","id":2107342,"avatar_url":"https://avatars.githubusercontent.com/u/2107342?v=3","gravatar_id":"","url":"https://api.github.com/users/brentax","html_url":"https://github.com/brentax","followers_url":"https://api.github.com/users/brentax/followers","following_url":"https://api.github.com/users/brentax/following{/other_user}","gists_url":"https://api.github.com/users/brentax/gists{/gist_id}","starred_url":"https://api.github.com/users/brentax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentax/subscriptions","organizations_url":"https://api.github.com/users/brentax/orgs","repos_url":"https://api.github.com/users/brentax/repos","events_url":"https://api.github.com/users/brentax/events{/privacy}","received_events_url":"https://api.github.com/users/brentax/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T22:37:45Z","updated_at":"2016-06-16T22:37:45Z","body":"I'm not sure, I can only say that I saw no issues in my experience with the flag. The [documentation](https://docs.npmjs.com/cli/install) doesn't seem to call out any potential issues."}}
{"actor":{"display_login":"brentax"}}