[英]I get an error when I do 'yarn start'(Required package: @babel/plugin-proposal-private-property-in-object)
I get an error when I do yarn start
.当我执行yarn start
时出现错误。 I search that in the other relevant questions of the stack, but I did not find the solution to my problem.我在堆栈的其他相关问题中进行了搜索,但没有找到解决问题的方法。 I thinks dependencies of my package.json is correct.我认为我的 package.json 的依赖关系是正确的。
This is my error:这是我的错误:
As stated by the error message, it appears yarn was expecting this package as a dependency.如错误消息所述,yarn 似乎将此包视为依赖项。 So the problem may be solved by installing it with:所以问题可以通过安装它来解决:
yarn add @babel/plugin-proposal-private-property-in-object --dev && yarn
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.