小编Tho*_*out的帖子

意外的标记 '。' 当尝试运行“npm install”时

我正在尝试使用“npm install -g @angular/cli”安装 Angular cli,但遇到以下错误:

npm ERR! Unexpected token '.'
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\<user>\AppData\Local\npm-cache\_logs\2022-02-02T15_25_07_320Z-debug-0.log
Run Code Online (Sandbox Code Playgroud)

npm 版本:8.3.1 节点版本:v17.4.0

任何帮助将不胜感激!谢谢 :)

node.js npm angular-cli angular

57
推荐指数
6
解决办法
8万
查看次数

标签 统计

angular ×1

angular-cli ×1

node.js ×1

npm ×1