`npm install -g vue-cli` is not working?
See original GitHub issuewhen I use npm install -g vue-cli
, there are some errors and a warning.
npm WARN deprecated metalsmith-templates@0.7.0: This package was split into two simpler plugins: metalsmith-layouts and metalsmith-in-place
npm ERR! git -c core.longpaths=true clone --template=C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror http://github.com/ianstormtaylor/to-camel-case C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\http-github-com-ianstormtaylor-to-camel-case-f206d7eb
npm ERR! git clone --template=C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror http://github.com/ianstormtaylor/to-camel-case C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\http-github-com-ianstormtaylor-to-camel-case-f206d7eb: Cloning into bare repository 'C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\http-github-com-ianstormtaylor-to-camel-case-f206d7eb'...
npm ERR! git clone --template=C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror http://github.com/ianstormtaylor/to-camel-case C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\http-github-com-ianstormtaylor-to-camel-case-f206d7eb: fatal: Unable to find remote helper for 'http'
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "D:\\Program Files\\nodejs\\\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "vue-cli"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror http://github.com/ianstormtaylor/to-camel-case C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\http-github-com-ianstormtaylor-to-camel-case-f206d7eb
npm ERR! Cloning into bare repository 'C:\Users\admin\AppData\Roaming\npm-cache\_git-remotes\http-github-com-ianstormtaylor-to-camel-case-f206d7eb'...
npm ERR! fatal: Unable to find remote helper for 'http'
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! E:\GitWorkSpace\learn-vue\npm-debug.log
So, how to do with this situation?
Issue Analytics
- State:
- Created 8 years ago
- Comments:15 (2 by maintainers)
Top Results From Across the Web
vue: command not found error [Solved] | bobbyhadz
To solve the error "vue: command not found", install the @vue/cli package globally by running npm install -g @vue/cli and restart your terminal....
Read more >Troubleshooting - Vue CLI
This document covers some common Vue CLI issues and how to resolve them. You should always follow these steps before opening a new...
Read more >npm - Command not found with vue-cli - Stack Overflow
Uninstall Vue npm uninstall -g @vue/cli · Check the local-global npm package installation path, vue is installed in this directory, check if it...
Read more >Vue CLI won't install (npm install -g @vue/cli won't work)
1) You have two ways to install Vue CLI2) I tried to use " npm install - g @ vue / cli "...
Read more >Install Vue.js directly on Windows | Microsoft Learn
If you are not building a new single-page app, you may not need or want Vue CLI. To install Vue CLI, use npm....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
vue init webpack myproject but it can say.
bash: vue: command not found
After nuking my cache, restarting my computer, uninstalling and reinstalling and trying all sorts of other things this is the command that worked for me. Thanks