Tidak dapat membuat Proyek angular8

Aug 31 2020

'' 'Mendapatkan Kesalahan ini setiap saat saat membuat Proyek angular8. Saya menggunakan versi terbaru dari node, npm dan cli. Saya menghapus dan menginstal ulang masih masalahnya sama '' '

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.

Jawaban

1 PurviBarot Aug 31 2020 at 14:25

Instal ulang node dan sudut terbaru

npm mengatur registri https://registry.npmjs.org/

npm cache clean --force

verifikasi cache npm

npm install