[英]Unable to resolve Could not find plugin “proposal-class-properties”
I have cloned a new project and after npm install, when I m doing npm start getting bellow error.我克隆了一个新项目,在安装 npm 后,当我在执行 npm 时开始出现以下错误。
"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. “找不到插件“proposal-class-properties”。确保在./available-plugins.js 中有一个条目”我在这里搜索了帮助,但无法解决。
It was told by my friend that he is not getting this error for the same project on hi environment.我的朋友告诉我,他在 hi 环境中的同一个项目没有收到此错误。 Can someone help me in resolving this.
有人可以帮我解决这个问题。
Try adding a resolutions folder to package.json:尝试将分辨率文件夹添加到 package.json:
"resolutions": { "@babel/preset-env": "7.5.5" }
Then:然后:
run npx npm-force-resolutions
Lastly run an npm or yarn install:最后运行 npm 或 yarn install:
npm install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.