I am getting an error when I create react app following screenshot is an error:
Node.js version v12.18.1
npm version v6.14.5
I am creating a project using these commands:
npm install -g create-react-app
create-react-app demo
npm audit
and got the following answerI also used this following method to create a project
npx create-react-app demo
but I also got an error in this too. but this error is too long to add to this question. Please, give me some solution for this problem. until then I can't work forward.
In create-react-app documentation says:
If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app to ensure that npx always uses the latest version.
https://create-react-app.dev/docs/getting-started#quick-start
And just use: npx create-react-app demo
I have node v12.13.0 and npm 6.12.0. Try npx create-react-app demo
console
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.