Mac IDE大量BUG,已经影响正常开发
发布于 6 年前 作者 ogong 13596 次浏览 来自 问答

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

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


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


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

3 回复

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

真机调试,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

补充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的文件目录。仅拷贝的部分代码。

回到顶部