- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
[publib]:146 error run publib TypeError: Cannot read property 'toLowerCase' of undefined
at a.g ([publib]:1)
at new a ([publib]:1)
at [publib]:1
at Object.u [as onReady] ([publib]:1)
at Object.<anonymous> ([publib]:1)
at o ([publib]:1)
at i ([publib]:1)
at __waServiceInit__ ([publib]:1)
at __doWAServiceInit__ ([publib]:1)
at [publib]:1
value @ [publib]:146
[publib]:833 ReferenceError: define is not defined
at app.js:1
at ContextifyScript.Script.runInContext (vm.js:59)
at Object.runInContext (vm.js:120)
at loadCode ([publib]:827)
at handleInitUserCode ([publib]:811)
at handleSetupContext ([publib]:1221)
at handleProcessMessage ([publib]:1230)
at WebSocket.ws.on ([publib]:1458)
at emitOne (events.js:115)
at WebSocket.emit (events.js:210)
loadCode @ [publib]:833
[publib]:833 ReferenceError: define is not defined
at canvasdrawer.js:1
at ContextifyScript.Script.runInContext (vm.js:59)
at Object.runInContext (vm.js:120)
at loadCode ([publib]:827)
at handleInitUserCode ([publib]:811)
at handleSetupContext ([publib]:1221)
at handleProcessMessage ([publib]:1230)
at WebSocket.ws.on ([publib]:1458)
at emitOne (events.js:115)
at WebSocket.emit (events.js:210)
loadCode @ [publib]:833
[publib]:833 ReferenceError: define is not defined
at scan.js:1
at ContextifyScript.Script.runInContext (vm.js:59)
at Object.runInContext (vm.js:120)
at loadCode ([publib]:827)
at handleInitUserCode ([publib]:811)
at handleSetupContext ([publib]:1221)
at handleProcessMessage ([publib]:1230)
at WebSocket.ws.on ([publib]:1458)
at emitOne (events.js:115)
at WebSocket.emit (events.js:210)
loadCode @ [publib]:833
[publib]:833 ReferenceError: define is not defined
at index.js:1
at ContextifyScript.Script.runInContext (vm.js:59)
at Object.runInContext (vm.js:120)
at loadCode ([publib]:827)
at handleInitUserCode ([publib]:811)
at handleSetupContext ([publib]:1221)
at handleProcessMessage ([publib]:1230)
at WebSocket.ws.on ([publib]:1458)
at emitOne (events.js:115)
at WebSocket.emit (events.js:210)
loadCode @ [publib]:833
怎么办,在开发工具中是正常的,安卓手机上也是正常的,就是ios12.3上有问题
还以为救我一个人遇到这个情况,现在我卸载重装1.02.1907160稳定版了,但这样之后的开发者工具还是很大概率黑屏卡死,官方赶紧修复啊
小程序真机调试,这个问题有人解决了吗? [publib]:834 ReferenceError: define is not defined
这个坑谁来填
我也遇到了.....IOS 12.3.1 [publib]:834 ReferenceError: define is not defined
我也遇到了,代码都没改过
经常遇到这个问题. 有什么好的解决方案吗?
请尝试重新启动一下操作系统呢
你好,这个问题已知,后续会修复哈
谢谢。那现在怎么做开发呢? 有没有什么替代方法
目前先换一个版本试试?https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
谢谢
在安卓调试没有问题 但是 在ios 真机测试就会出现这个问题 把ES6 转 ES5关掉也没有用
换了个版本也没有用 在真机测试的调试台,还是一样的错误