0

I want to create a new angular project I used ng new hello-world as project start building it get stuck in | Installing packages... and throw warning that

Installing packages...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]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

npm WARN deprecated [email protected]: this library is no longer supported

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 '.../chai":"^3.4.34","@ty'

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\Devendra Mulewa\AppData\Roaming\npm-
cache\_logs\2020-08-03T03_43_38_617Z-debug.log

× Package install failed, see above.
The Schematic workflow failed. See above.

1 Answer 1

1

This solved it for me,

open cmd/terminal as admin mode.

Execute following commands,

npm cache clean --force

npm install
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.