开发者工具版本: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也会报这种错 只是文件名不一样
最新版nightly更新一下试试:
https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html