收藏
回答

@babel/plugin-proposal-private-property-in-object

框架类型 问题类型 操作系统 工具版本
小程序 Bug Windows Stable 1.06.2405020

https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html

在5010正常运行的代码,到5020的工具上不行了

报了一堆这样的错

[] Error: file: common/vendor.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.

回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容