Closed
Description
If you have this issue, please run sudo rm -rf /usr/local/lib/node_modules/
and try installing again. ~Fishrock123
Just released v5.0.0 RC 1 and npm is borked:
$ npm i bl
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "bl"
npm ERR! node v5.0.0-rc.1
npm ERR! npm v3.3.6
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'github-url-from-git'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/npm-debug.log
$ grep -R github-url-from-git /usr/local/lib/node_modules/npm
/usr/local/lib/node_modules/npm/CHANGELOG.md: `github-url-from-git@1.4.0`: add support for git+https and git+ssh
/usr/local/lib/node_modules/npm/CHANGELOG.md: `github-url-from-git@1.4.0`: add support for git+https and git+ssh
/usr/local/lib/node_modules/npm/CHANGELOG.md: `github-url-from-git@1.2.0` ([@isaacs](https://github.com/isaacs))
/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:var parseGitHubURL = require("github-url-from-git")
/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json: "github-url-from-git": "^1.3.0",
$ find /usr/local/lib/node_modules/ -name github-url-from-git
$
/cc @iarna @Fishrock123