I’m unable to create a new project with React. It created files but this error appears before ending.
npm install –no-audit –save @testinglibrary/jest-dom@^5.14.1@testing-liberary/react@^13.0.0 @testing-liberary/user-event@^13.2.1 web-vitals@^2.1.0′ failed
I used a lot of commands like:
npm install --save @testing-library/jest-dom@^5.14.1 @testing-library/react@^13.0.0 @testing-library/user-event@^13.2.1 web-vitals@^2.1.0
It finally couldn’t read package.json
although it exists and is correct.
New contributor
Youstina Noshy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1