[英]Why am I getting syntax error while installing NPM?
I have installed NodeJS v17.5.0 but when I am trying to install angular/cli using npm syntax in command prompt it is showing error我已经安装了 NodeJS v17.5.0,但是当我尝试在命令提示符下使用 npm 语法安装 angular/cli 时,它显示错误
C:\Users\bjnai>npm install -g @angular/cli
C:\Users\bjnai>npm install -g @angular/cli
The syntax of the command is incorrect.
命令的语法不正确。
The syntax of the command is incorrect.命令的语法不正确。
The syntax of the command is incorrect.命令的语法不正确。
/F was unexpected at this time./F 这个时候出乎意料。
Try running these commands:尝试运行这些命令:
npm cache clean --force
npm install -g @angular/cli
Next time better just paste errors here, so we can copy them.下次最好把错误粘贴在这里,这样我们就可以复制它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.