Не удалось установить пакет angular - PullRequest
0 голосов
/ 04 апреля 2020

Эй, я пытался создать новый angular проект с помощью команды 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>

...