Dependency reference used incorrect github syntax#2554
Closed
clov3r wants to merge 1 commit intoangular:masterfrom
clov3r:patch-1
Closed
Dependency reference used incorrect github syntax#2554clov3r wants to merge 1 commit intoangular:masterfrom clov3r:patch-1
clov3r wants to merge 1 commit intoangular:masterfrom
clov3r:patch-1
Conversation
`npm install -g angular-cli` fails on OSX 10.11.6 with node v4.2.6 (npm v2.1.11), giving the following error: ``` npm ERR! Darwin 15.6.0 npm ERR! argv "/Users/clov3r/.nvm/versions/node/v4.2.6/bin/node" "/Users/clov3r/.nvm/versions/node/v4.2.6/bin/npm" "install" "-g" "angular-cli" npm ERR! node v4.2.6 npm ERR! npm v2.1.11 npm ERR! Unsupported URL Type: github:webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25a660acc6a2a6453f54 ``` > As of version 1.1.65, you can refer to GitHub urls as just "foo": "user/foo-project". Just as with git URLs, a commit-ish suffix can be included. [Source](https://docs.npmjs.com/files/package.json#github-urls)
Member
|
FYI. The quote is referring to the previous need to use a full git url to access github. In addition, NPM 3 added the option to use URL protocol specifiers for various git sources (github, bitbucket, and others). Also, as per the CLI README (which was recently updated to clarify the requirements), NPM 3+ is required by the CLI. |
Contributor
|
Closed as npm3 is a hard requirement of this project. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npm install -g angular-clifails on OSX 10.11.6 with node v4.2.6 (npm v2.1.11), giving the following error:Source