收藏
回答

Error: module "@babel/xx/xx.js" 报错?

开发者工具版本:1.05.2107221。windows端

VM71 WAService.js:2 Error: module "@babel/runtime/helpers/readOnlyError.js" is not defined

    at p (VM71 WAService.js:2)

    at r (VM71 WAService.js:2)

    at <anonymous>:4:23

    at p (VM71 WAService.js:2)

    at <anonymous>:9:7

    at evaluateRes (VM8 asdebug.js:1)

    at Object.invoke (VM8 asdebug.js:1)

    at T (VM71 WAService.js:2)

    at wa.batchInjectComponents (VM71 WAService.js:2)

    at wa.injectComponentsRecursively (VM71 WAService.js:2)


一写JS就报错 定义了一个const就报这个错,而且写完js后不退出开发者工具重新进入就会加载不出来

wx.createAnimation也会报这种错 只是文件名不一样


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

1 个回答

登录 后发表内容