2

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

Sunil Yerra
  • 53
  • 1
  • 7

1 Answers1

0

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
Jamie Fisher
  • 31
  • 1
  • 5