ไม่สามารถสร้างโครงการ angular8

Aug 31 2020

'' 'รับข้อผิดพลาดนี้ทุกครั้งในขณะที่สร้างโครงการ angular8 Iam ใช้ node, npm และ cli เวอร์ชันล่าสุดฉันถอนการติดตั้งและติดตั้งใหม่แล้วยังคงมีปัญหาเหมือนเดิม '' '

CREATE Editor/e2e/tsconfig.json (299 bytes)
CREATE Editor/e2e/src/app.e2e-spec.ts (639 bytes)
CREATE Editor/e2e/src/app.po.ts (301 bytes)
- Installing packages...
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...m-signature":"-----BE'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Tomal\AppData\Roaming\npm-cache\_logs\2020-08-31T02_03_49_568Z-debug.log
× Package install failed, see above.
The Schematic workflow failed. See above.

คำตอบ

1 PurviBarot Aug 31 2020 at 14:25

ติดตั้งโหนดล่าสุดและเชิงมุมอีกครั้ง

npm ตั้งค่ารีจิสทรี https://registry.npmjs.org/

npm ล้างแคช - บังคับ

ตรวจสอบแคช npm

npm ติดตั้ง