I have cloned a new project and after npm install, when I m doing npm start getting bellow error.
"Could not find plugin "proposal-class-properties". Ensure there is an entry in./available-plugins.js for it" I have searched for help here , but could not resolve.
It was told by my friend that he is not getting this error for the same project on hi environment. Can someone help me in resolving this.
Try adding a resolutions folder to package.json:
"resolutions": { "@babel/preset-env": "7.5.5" }
Then:
run npx npm-force-resolutions
Lastly run an npm or yarn install:
npm install
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.