'I can't create a react app and I keep getting the same errors
Solution 1:[1]
It's problem in, you're npm version
consider using a stable version of npm npm version
run this command
npm install -g npm@latest
it will install the new version of npm if it's still not working use flag while creating react appnpx create-react-app newapp -force
andnpm cache clear --force
In case it still not working delete
package-lock.json
from you're project and runnpm install
again
Solution 2:[2]
Try to avoid Node latest version 17.0. Use 14 or 16 version instaed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | bilalzafar0001 |