{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7308","labels_url":"https://api.github.com/repos/npm/npm/issues/7308/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7308/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7308/events","html_url":"https://github.com/npm/npm/issues/7308","id":57000014,"number":7308,"title":"npm doesn't work in vagrant","user":{"login":"DmitryRomanenko","id":2045201,"avatar_url":"https://avatars.githubusercontent.com/u/2045201?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryRomanenko","html_url":"https://github.com/DmitryRomanenko","followers_url":"https://api.github.com/users/DmitryRomanenko/followers","following_url":"https://api.github.com/users/DmitryRomanenko/following{/other_user}","gists_url":"https://api.github.com/users/DmitryRomanenko/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryRomanenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryRomanenko/subscriptions","organizations_url":"https://api.github.com/users/DmitryRomanenko/orgs","repos_url":"https://api.github.com/users/DmitryRomanenko/repos","events_url":"https://api.github.com/users/DmitryRomanenko/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryRomanenko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"},{"url":"https://api.github.com/repos/npm/npm/labels/windows","name":"windows","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-02-09T08:07:30Z","updated_at":"2015-09-12T23:17:21Z","closed_at":"2015-02-10T06:53:55Z","body":"npm doesn't work in vagrant with windows host because it doesn't support symlinks.\r\n\r\n    root@vagrant-ubuntu-trusty-64:/vagrant# npm install gulp\r\n    npm WARN package.json @ No repository field.\r\n    \r\n    > v8flags@1.0.8 install /vagrant/node_modules/gulp/node_modules/v8flags\r\n    > node fetch.js\r\n    \r\n    npm ERR! Error: UNKNOWN, symlink '../user-home/cli.js'\r\n    npm ERR! If you need help, you may report this *entire* log,\r\n    npm ERR! including the npm and node versions, at:\r\n    npm ERR!     <http://github.com/npm/npm/issues>\r\n    \r\n    npm ERR! System Linux 3.13.0-45-generic\r\n    npm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\" \"gulp\"\r\n    npm ERR! cwd /vagrant\r\n    npm ERR! node -v v0.10.36\r\n    npm ERR! npm -v 1.4.28\r\n    npm ERR! path ../user-home/cli.js\r\n    npm ERR! code UNKNOWN\r\n    npm ERR! errno -1\r\n    npm ERR! not ok code 0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/139828420","html_url":"https://github.com/npm/npm/issues/7308#issuecomment-139828420","issue_url":"https://api.github.com/repos/npm/npm/issues/7308","id":139828420,"user":{"login":"thenewguy","id":77731,"avatar_url":"https://avatars.githubusercontent.com/u/77731?v=3","gravatar_id":"","url":"https://api.github.com/users/thenewguy","html_url":"https://github.com/thenewguy","followers_url":"https://api.github.com/users/thenewguy/followers","following_url":"https://api.github.com/users/thenewguy/following{/other_user}","gists_url":"https://api.github.com/users/thenewguy/gists{/gist_id}","starred_url":"https://api.github.com/users/thenewguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thenewguy/subscriptions","organizations_url":"https://api.github.com/users/thenewguy/orgs","repos_url":"https://api.github.com/users/thenewguy/repos","events_url":"https://api.github.com/users/thenewguy/events{/privacy}","received_events_url":"https://api.github.com/users/thenewguy/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T23:17:21Z","updated_at":"2015-09-12T23:17:21Z","body":"I realized after posting that I was using an older version of npm, but it still happens with the latest version:\r\n```\r\nvagrant@vagrant-ubuntu-trusty-64:/vagrant$ npm run express\r\nnpm ERR! Linux 3.13.0-63-generic\r\nnpm ERR! argv \"/usr/bin/iojs\" \"/usr/bin/npm\" \"run\" \"express\"\r\nnpm ERR! node v1.8.4\r\nnpm ERR! npm  v2.14.3\r\n\r\nnpm ERR! missing script: express\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\nnpm ERR! Linux 3.13.0-63-generic\r\nnpm ERR! argv \"/usr/bin/iojs\" \"/usr/bin/npm\" \"run\" \"express\"\r\nnpm ERR! node v1.8.4\r\nnpm ERR! npm  v2.14.3\r\nnpm ERR! path npm-debug.log.05faba6fb116c3f76281b963b14b0329\r\nnpm ERR! code ETXTBSY\r\nnpm ERR! errno -26\r\nnpm ERR! syscall rename\r\n\r\nnpm ERR! ETXTBSY: text file is busy, rename 'npm-debug.log.05faba6fb116c3f76281b\r\n963b14b0329' -> 'npm-debug.log'\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /vagrant/npm-debug.log\r\nvagrant@vagrant-ubuntu-trusty-64:/vagrant$\r\n```"}}