html52.com
我爱小程序-开发者交流社区

小程序“真机调试”

问题模块 框架类型 问题类型 操作系统 工具版本
开发者工具 小程序 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

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付