Abh*_*bhi 2 npm angular-cli angular
ng new project-name在 angular 项目中执行时出现以下错误
npm WARN deprecated circle-json@0.5.9:CircularJSON 仅在维护中,flatted 是它的后继者。
npm 错误!解析 '...:"~0.0.0","webpack-de' 附近时 JSON 输入意外结束npm 错误!可以在以下位置找到此运行的完整日志:
npm ERR!C:\Users\Abhi\AppData\Roaming\npm-cache_logs\2018-12-13T10_24_02_151Z-debug.log
包安装失败,见上。
我尝试过的:
1. npm cache clean --force
2. npm cache verify
3. npm ERR!解析 '...5.0","rimraf":"^2.2.8' 附近时 JSON 输入意外结束
当前版本:
节点:10.14.2
NPM:6.5.0
操作系统:Windows
Myt*_*yth 15
您不需要卸载或安装任何东西。只是
npm cache clean --force
Run Code Online (Sandbox Code Playgroud)
进而
npm install
Run Code Online (Sandbox Code Playgroud)
会做。
| 归档时间: |
|
| 查看次数: |
22024 次 |
| 最近记录: |