收藏
回答

打开项目直接报错,无法运行?

Error: file: pages/my/my.js

 --- PLACEHOLDER PACKAGE ---

This @babel/plugin-proposal-private-property-in-object version is not meant to

be imported. Something is importing

@babel/plugin-proposal-private-property-in-object without declaring it in its

dependencies (or devDependencies) in the package.json file.

Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies

to work around this error. This will make this message go away.


Error: file: pages/my/my.js

 --- PLACEHOLDER PACKAGE ---

This @babel/plugin-proposal-private-property-in-object version is not meant to

be imported. Something is importing

@babel/plugin-proposal-private-property-in-object without declaring it in its

dependencies (or devDependencies) in the package.json file.

Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies

to work around this error. This will make this message go away.


    at enhance

    at doTransform

    at Object.runSummerPluginHook

回答关注问题邀请回答
收藏
登录 后发表内容