问题模块 | 框架类型 | 问题类型 | 操作系统 | 工具版本 |
---|---|---|---|---|
开发者工具 | 小程序 | Bug | Windows | Stable v1.02 |
微信小程序 在进行 真机调试,报错“
[publib]:834 ReferenceError: define is not defined
at weapp:///data/data.js:1
at ContextifyScript.Script.runInContext (vm.js:59)
at Object.runInContext (vm.js:120)
at loadCode ([publib]:828)
at handleInitUserCode ([publib]:812)
at handleSetupContext ([publib]:1225)
at handleProcessMessage ([publib]:1234)
at WebSocket.ws.on ([publib]:1462)
at emitOne (events.js:115)
at WebSocket.emit (events.js:210)
网友回复
娇华:
你好,麻烦下载更新Nightly Build版本的工具哈,这个问题解决了的https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html