'I can't create a react app and I keep getting the same errors

I run the command, but I get the errors with stuff I don't understand. node -v is v16.14.0

enter image description here



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 app npx create-react-app newapp -force and npm cache clear --force

In case it still not working delete package-lock.json from you're project and run npm 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