Arv*_*tam 5 angular-cli angular
命令:
npm install -g @angular/cli@latest
Run Code Online (Sandbox Code Playgroud)
例外:
详细信息堆栈语法错误:在'... ge-2.2.1.tgz"}附近解析JSON输入时出现意外结束,"在jSON.parse()中运行'169详细堆栈',在parseJson处于169详细堆栈(C:\ Program Files \nodejs \node_modules \npm \node_modules\pacote \node_modules\make-fetch-happen \node_modules \node-fetch-npm \node_modules\json-parse-better-errors\index.js:7:17)169在consumeBody处的详细堆栈. call.then.buffer(C:\ Program Files \nodejs \node_modules \npm \node_modules\pacote \node_modules\make-fetch-happen \node_modules \node-fetch-npm\src\body.js:96:50)169 verbose在process._tickCallback处于169详细堆栈的堆栈(内部/进程/ next_tick.js:188:7)
寻求帮助和支持.谢谢
npm cache clean --force
Run Code Online (Sandbox Code Playgroud)
然后 :
npm install -g @angular/cli
Run Code Online (Sandbox Code Playgroud)
如果不工作:
删除package.lock.json文件,然后重试
| 归档时间: |
|
| 查看次数: |
4654 次 |
| 最近记录: |