[英]npm does not install when i run npm install -g comand
Npm doesn't install. Npm没有安装。 My Node version is v10.14.2 and my npm version is 6.4.1.
我的节点版本是v10.14.2,我的npm版本是6.4.1。
This is the error I'm getting: 这是我得到的错误:
npm install npm -g
npm ERR! code E400
npm ERR! 400 Bad Request: npm@latest
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dev Akash\AppData\Roaming\npm-cache\_logs\2018-12-24T10_58_41_162Z-debug.log
you are using wrong change npm install -g npm
if you want to install any plugin or package then you will use npm install -g PackageName/plugin
example: i want to install cordova then i will use 如果您要安装任何插件或软件包,则使用错误的更改
npm install -g npm
,那么您将使用npm install -g PackageName/plugin
示例:我想安装cordova然后使用
npm install -g cordova
and install npm then 然后安装npm
npm install -g npm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.