+1 同出现这个问题 之前都没有 昨天突然出现
真机调试时,iphone6 ios12上部分机子无法加载aes.js- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo 选择真机调试时,用户iphone6手机无法加载aes.js,这个是网上通用的小程序aes加密解密,只有部分机子会这样。 [publib]:834 TypeError: Cannot assign to read only property 'toString' of object '#<Object>' at s.mixIn (aes.js:31) at Object.extend (aes.js:16) at aes.js:38 at aes.js:8 at require ([publib]:1) at [publib]:1 at bledataparse.js:1 at require ([publib]:1) at [publib]:1 at deviceinfo.js:4 loadCode @ [publib]:834 handleInitUserCode @ [publib]:812 handleSetupContext @ [publib]:1225 handleProcessMessage @ [publib]:1234 ws.on @ [publib]:1462 emitOne @ events.js:115 emit @ events.js:210 _receiver.onmessage @ C:\Users\xxx\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\ws\lib\WebSocket.js:146
2019-06-11有解决办法吗?今天突然出现这情况 版本回退也无法解决
真机调试报错开发工具版本:1.02.1905151 真机调试出现了这个报错,虽然不影响使用... [代码]remote-helper.js:1 error run publib TypeError: Cannot assign to read only property [代码][代码]'console'[代码] [代码]of object [代码][代码]'#<Object>'[代码][代码] [代码][代码]at handleInitPubLib (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\js\unpack\remote-helper.js:1:13129)[代码][代码] [代码][代码]at handleSetupContext (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\js\unpack\remote-helper.js:44:131)[代码][代码] [代码][代码]at handleProcessMessage (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\js\unpack\remote-helper.js:44:2564)[代码][代码] [代码][代码]at WebSocket.ws.on (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\js\unpack\remote-helper.js:44:6348)[代码][代码] [代码][代码]at WebSocket.emit (events.js:193:13)[代码][代码] [代码][代码]at Receiver._receiver.onmessage (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\ws\lib\WebSocket.js:146:47)[代码][代码] [代码][代码]at Receiver.dataMessage (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\ws\lib\Receiver.js:389:14)[代码][代码] [代码][代码]at Receiver.getData (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\ws\lib\Receiver.js:330:12)[代码][代码] [代码][代码]at Receiver.startLoop (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\ws\lib\Receiver.js:165:16)[代码][代码] [代码][代码]at Receiver.add (C:\Users\pro\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\ws\lib\Receiver.js:139:10)[代码] 大概翻了一下,报错是从这里地console.error开始的(remote-helper.js:1) [代码]Object.defineProperty(log, [代码][代码]"e"[代码][代码], {[代码][代码]value: [代码][代码]function[代码][代码](...a) {[代码][代码] [代码][代码]console.error(...a), errorsAndWarns.push([...a]), sendLogTimer || (sendLogTimer = setTimeout(() => {[代码][代码] [代码][代码]sendLogTimer = void 0;[代码][代码] [代码][代码]const a = {[代码][代码] [代码][代码]type: [代码][代码]"error"[代码][代码],[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]error: errorsAndWarns.join([代码][代码]"\n"[代码][代码])[代码][代码] [代码][代码]}[代码][代码] [代码][代码]};[代码][代码] [代码][代码]errorsAndWarns = [], sendMessageToMaster(a)[代码][代码] [代码][代码]}, 0))[代码][代码]}[代码]
2019-06-10