无法在Visual Studio代码终端中安装npm

时间:2018-12-19 09:38:00

标签: angular5

PS C:\Users\smudigon\Code\Fee Sentry> npm install
npm WARN deprecated nvm@0.0.4: This is NOT the correct nvm. Visit http://nvm.sh and use the curl command to install it.
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version.
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\smudigon\AppData\Roaming\npm-cache\_logs\2018-12-19T09_32_42_038Z-debug.log

当我在Visual Studio代码终端窗口中运行npm install命令时,它正在解决上述错误,并且未成功安装。请帮助任何人。 并添加了环境变量。

0 个答案:

没有答案