软件包安装失败

时间:2020-04-04 19:46:59

标签: angular npm angular-cli

嘿,我正在尝试使用ng new命令创建一个新的角度项目,尽管在创建命令提示符历史之前没有创建此项目时,我仍然遇到此错误

C:\Users\moi\github>ng new auth-demo-starter
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE auth-demo-starter/angular.json (3681 bytes)
CREATE auth-demo-starter/package.json (1303 bytes)
CREATE auth-demo-starter/README.md (1033 bytes)
CREATE auth-demo-starter/tsconfig.json (543 bytes)
CREATE auth-demo-starter/tslint.json (1953 bytes)
CREATE auth-demo-starter/.editorconfig (246 bytes)
CREATE auth-demo-starter/.gitignore (631 bytes)
CREATE auth-demo-starter/browserslist (429 bytes)
CREATE auth-demo-starter/karma.conf.js (1029 bytes)
CREATE auth-demo-starter/tsconfig.app.json (270 bytes)
CREATE auth-demo-starter/tsconfig.spec.json (270 bytes)
CREATE auth-demo-starter/src/favicon.ico (948 bytes)
CREATE auth-demo-starter/src/index.html (301 bytes)
CREATE auth-demo-starter/src/main.ts (372 bytes)
CREATE auth-demo-starter/src/polyfills.ts (2838 bytes)
CREATE auth-demo-starter/src/styles.css (80 bytes)
CREATE auth-demo-starter/src/test.ts (642 bytes)
CREATE auth-demo-starter/src/assets/.gitkeep (0 bytes)
CREATE auth-demo-starter/src/environments/environment.prod.ts (51 bytes)
CREATE auth-demo-starter/src/environments/environment.ts (662 bytes)
CREATE auth-demo-starter/src/app/app-routing.module.ts (246 bytes)
CREATE auth-demo-starter/src/app/app.module.ts (393 bytes)
CREATE auth-demo-starter/src/app/app.component.html (25530 bytes)
CREATE auth-demo-starter/src/app/app.component.spec.ts (1131 bytes)
CREATE auth-demo-starter/src/app/app.component.ts (221 bytes)
CREATE auth-demo-starter/src/app/app.component.css (0 bytes)
CREATE auth-demo-starter/e2e/protractor.conf.js (808 bytes)
CREATE auth-demo-starter/e2e/tsconfig.json (214 bytes)
CREATE auth-demo-starter/e2e/src/app.e2e-spec.ts (650 bytes)
CREATE auth-demo-starter/e2e/src/app.po.ts (262 bytes)
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! Unexpected end of JSON input while parsing near '...r\nComment: https://o'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\moi\AppData\Roaming\npm-cache\_logs\2020-04-04T19_35_45_726Z-debug.log
Package install failed, see above.

C:\Users\moi\github>

0 个答案:

没有答案