微信小程序 在进行 真机调试,报错“
[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