npx create-react-app my-app não funcionando
npm uninstall -g create-react-app
npm cache clean --force
npm install -g create-react-app
Lucky Lobster
npm uninstall -g create-react-app
npm cache clean --force
npm install -g create-react-app
npm i --save-dev babel-loader @babel/preset-env @babel/core
@babel/plugin-transform-runtime
@babel/preset-react
babel-eslint
@babel/runtime
@babel/cli
npm i --save-dev webpack webpack-cli webpack-dev-server
npx create-react-app my-app
cd my-app
npm start
//Note:npx on the first line is not a typo —
//it’s a package runner tool that comes with npm 5.2+.
npx clear-npx-cache #worked for me.