{"action":"opened","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/949","labels_url":"https://api.github.com/repos/creationix/nvm/issues/949/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/949/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/949/events","html_url":"https://github.com/creationix/nvm/issues/949","id":123783998,"number":949,"title":"test/slow overwrite npm","user":{"login":"kui","id":29692,"avatar_url":"https://avatars.githubusercontent.com/u/29692?v=3","gravatar_id":"","url":"https://api.github.com/users/kui","html_url":"https://github.com/kui","followers_url":"https://api.github.com/users/kui/followers","following_url":"https://api.github.com/users/kui/following{/other_user}","gists_url":"https://api.github.com/users/kui/gists{/gist_id}","starred_url":"https://api.github.com/users/kui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kui/subscriptions","organizations_url":"https://api.github.com/users/kui/orgs","repos_url":"https://api.github.com/users/kui/repos","events_url":"https://api.github.com/users/kui/events{/privacy}","received_events_url":"https://api.github.com/users/kui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-24T10:02:52Z","updated_at":"2015-12-24T10:02:52Z","closed_at":null,"body":"Why do `npm run test/slow` overwrite `npm` ?\r\n\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~bash\r\n$ nvm install v5.3.0\r\nDownloading https://nodejs.org/dist/v5.3.0/node-v5.3.0-darwin-x64.tar.xz...\r\n######################################################################## 100.0%\r\nWARNING: checksums are currently disabled for node.js v4.0 and later\r\nNow using node v5.3.0 (npm v3.3.12)\r\n$ nvm use v5.3.0\r\nNow using node v5.3.0 (npm v3.3.12)\r\n$ node --version\r\nv5.3.0\r\n$ npm --version\r\n3.3.12\r\n$ npm run test/slow\r\n# ...\r\n\r\nDone, took 169 seconds.\r\n5 tests passed.\r\n12 tests failed.\r\nmake: *** [test-zsh] Error 12\r\n\r\nnpm ERR! Darwin 15.2.0\r\nnpm ERR! argv \"/Users/kui/.nvm/versions/node/v5.3.0/bin/node\" \"/Users/kui/.nvm/versions/node/v5.3.0/bin/npm\" \"run\" \"test/slow\"\r\nnpm ERR! node v5.3.0\r\nnpm ERR! npm  v3.3.12\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! nvm@0.29.0 test/slow: `shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=slow test-$shell`\r\nnpm ERR! Exit status 2\r\nnpm ERR!\r\nnpm ERR! Failed at the nvm@0.29.0 test/slow script 'shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=slow test-$shell'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the nvm package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=slow test-$shell\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls nvm\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/kui/toybox/nvm/npm-debug.log\r\n$ nvm current\r\nv5.3.0\r\n$ node --version\r\nv5.3.0\r\n$ npm --version\r\n1.4.29\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n"}}