收藏
回答

Mac IDE大量BUG,已经影响正常开发

框架类型 问题类型 操作系统 工具版本
小程序 Bug macOS 1.02.1901170

scroll-view       bindtouchstart     bindtouchend  不走回调。真机走回调

enablePullDownRefresh 属性设置无效  onPullDownRefresh   onReachBottom  不走回调


真机调试情况下。100%出现问题,公司同事手机都试过了。无法真机调试。






上一个版本 仅仅是真机无法调适问题。今天更新了版本想着问题会得到解决。然后发现。更多的BUG出现。基础的方法都得不到回调,无法开发了。招个测试人员吧

回答关注问题邀请回答
收藏

3 个回答

  • 2019-01-21

    真机调试,Mac 上我这边绝对会出现楼主那一长串报错,16 个,有时 17 有时 18。这个 IDE 真的奇葩。。。早已无法真机调试,导致我们开发测试进度严重阻塞。


    刷到这个问题的时候,随手点一次真机调试~~~~~~~~~~



    [publib]:145 error run publib TypeError: Cannot read property 'toLowerCase' of undefined

        at a.v ([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 [publib]:1

        at __waServiceInit__ ([publib]:1)

        at __doWAServiceInit__ ([publib]:1)

        at [publib]:1

    value @ [publib]:145

    [publib]:832 ReferenceError: define is not defined

        at weapp:///libs/qqmap-wx-jssdk.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///utils/util.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///app.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///component/paymentmodal/paymentmodal.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///component/temporarilymodal/temporarilymodal.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///pages/index/index.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///pages/agreement/agreement.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///pages/usercenter/usercenter.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///pages/pledgecash/pledgecash.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at weapp:///pages/orderdetail/orderdetail.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at orders.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at login.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:832 ReferenceError: define is not defined

        at payment.js:1

        at ContextifyScript.Script.runInContext (vm.js:59)

        at Object.runInContext (vm.js:120)

        at loadCode ([publib]:826)

        at handleInitUserCode ([publib]:810)

        at handleSetupContext ([publib]:1220)

        at handleProcessMessage ([publib]:1229)

        at WebSocket.ws.on ([publib]:1457)

        at emitOne (events.js:115)

        at WebSocket.emit (events.js:210)

    loadCode @ [publib]:832

    [publib]:1 gameSDKScriptError

    Cannot read property 'getNetworkType' of undefined;at private.reportEnterForeground

    TypeError: Cannot read property 'getNetworkType' of undefined

        at Sy ([publib]:1:545827)

        at Function.<anonymous> ([publib]:1:546270)

        at [publib]:1:319131

        at Timeout._onTimeout ([publib]:1:546729)

        at ontimeout (timers.js:471:11)

        at tryOnTimeout (timers.js:306:5)

        at Timer.listOnTimeout (timers.js:266:5)

    errorReport @ [publib]:1

    [publib]:1 gameSDKScriptError

    Cannot read property 'getNetworkType' of undefined;at private.reportEnterForeground

    TypeError: Cannot read property 'getNetworkType' of undefined

        at Sy ([publib]:1:545827)

        at Function.<anonymous> ([publib]:1:546270)

        at Function.<anonymous> ([publib]:1:319131)

        at Bt.<anonymous> ([publib]:1:101865)

        at Bt.emit ([publib]:1:314089)

        at Object.emit ([publib]:1:333338)

        at Oy ([publib]:1:547283)

        at Timeout._onTimeout ([publib]:1:547941)

        at ontimeout (timers.js:471:11)

        at tryOnTimeout (timers.js:306:5)

    errorReport @ [publib]:1


    2019-01-21
    有用 1
    回复
  • 2019-01-18

    补充BUG,模拟器 app.json中

    "tabBar": {

    "color": "#5e5e5e",

    "selectedColor": "#ff2a25",

    "list": [

    {

    "pagePath": "pages/index/index",

    "text": "首页",

    "iconPath": "/images/tabBar/home.png",

    "selectedIconPath": "/images/tabBar/home_hl.png"

    },

    }

    selectedIconPath 无效.  模拟器仅仅展示了 iconPath的文件目录。仅拷贝的部分代码。

    2019-01-18
    有用
    回复 1
    • 2019-01-18

      问题附属图片





      2019-01-18
      回复
  • HS
    HS
    2019-01-18

    报错 “Component not found” 的问题,可否提供一个简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

    2019-01-18
    有用
    回复 11
    • 2019-01-18

      我截图了 我文件也在的。我应该提供怎样的代码片段


      真机跑没问题。模拟器也没问题。真机调试有问题。

      2019-01-18
      回复
    • 夏洛埃克
      夏洛埃克
      2019-01-18

      你这些事件写到组件里了吗?

      2019-01-18
      回复
    • 2019-01-18回复夏洛埃克

      什么事件?

      2019-01-18
      回复
    • 夏洛埃克
      夏洛埃克
      2019-01-18

        bindtouchstart     bindtouchend 

      2019-01-18
      回复
    • 2019-01-18回复夏洛埃克

       bindtouchstart     bindtouchend  没有写在组件里面


      这个问题是最近几版IDE才出现的问题。我这些都是老代码,今天去看的时候,才发现这样的问题

      2019-01-18
      回复
    查看更多(6)
登录 后发表内容