Unable to resolve Could not find plugin "proposal-class-properties"

Viewed 729

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.enter image description here

1 Answers

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
Related