I created a React App using npx create-react-app my_app
but when I am running the app using npm start
, I am getting the following error,
I tried installing the package '@babel/plugin-proposal-private-property-in-object' using npm install @babel/plugin-proposal-private-property-in-object
but still getting the same error. How to solve this?
babel/preset-env
. Are you sure you need to be installing it separately at all? Might be a bug withcreate-react-app
if you're actually doing a fresh bootstrap – Zebadiah