Skip to content

Missing github-url-from-git from npm@3 in Node v5 RC1 #3540

@rvagg

Description

@rvagg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    npmIssues and PRs related to the npm client dependency or the npm registry.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions