Skip to content

'npm install -g vue-cli' error #34

@rdmclin2

Description

@rdmclin2

The error msg is as follows:

npm ERR! git clone --template=/Users/Calvin/.npm/_git-remotes/_templates --mirror http://github.com/ianstormtaylor/to-camel-case /Users/Calvin/.npm/_git-remotes/http-github-com-ianstormtaylor-to-camel-case-7ca8a050: Cloning into bare repository '/Users/Calvin/.npm/_git-remotes/http-github-com-ianstormtaylor-to-camel-case-7ca8a050'...
npm ERR! git clone --template=/Users/Calvin/.npm/_git-remotes/_templates --mirror http://github.com/ianstormtaylor/to-camel-case /Users/Calvin/.npm/_git-remotes/http-github-com-ianstormtaylor-to-camel-case-7ca8a050: fatal: unable to access 'http://github.com/ianstormtaylor/to-camel-case/': The requested URL returned error: 500
npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0
npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/Calvin/.nvm/versions/node/v4.3.0/bin/node" "/Users/Calvin/.nvm/versions/node/v4.3.0/bin/npm" "install" "-g" "vue-cli"
npm ERR! node v4.3.0
npm ERR! npm  v2.14.12
npm ERR! code 128

npm ERR! Command failed: git clone --template=/Users/Calvin/.npm/_git-remotes/_templates --mirror http://github.com/ianstormtaylor/to-camel-case /Users/Calvin/.npm/_git-remotes/http-github-com-ianstormtaylor-to-camel-case-7ca8a050
npm ERR! Cloning into bare repository '/Users/Calvin/.npm/_git-remotes/http-github-com-ianstormtaylor-to-camel-case-7ca8a050'...
npm ERR! fatal: unable to access 'http://github.com/ianstormtaylor/to-camel-case/': The requested URL returned error: 500
npm ERR!
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!     /Users/Calvin/npm-debug.log

I have upgraded git to v2.7.1 and node to v4.3.0LTS, but it still can't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions