收藏
回答

从7月15日起出现大量的Cannot set properties of undefined报错

框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 微信安卓客户端 8.0.50 3.5.0
sdkVersion: '3.5.0',
ClientVersion: '8.0.50',
TimeStamp: '2024-07-23 00:42:50',
appVersion: '4.1.0',
errorMsg: "Cannot set properties of undefined (setting \\'platform\\')",
errorStack: "TypeError: Cannot set properties of undefined (setting \\'platform\\')\n" +
  '    at Zg (https://lib/WAServiceMainContext.js:1:700697)\n' +
  '    at Object.<anonymous> (https://lib/WAServiceMainContext.js:1:699058)\n' +
  '    at I (https://lib/WAServiceMainContext.js:1:929816)\n' +
  '    at Object.p (https://lib/WAServiceMainContext.js:1:931933)\n' +
  '    at global.WeixinJSContext.loadJsFiles (<anonymous>:9:9)\n' +
  '    at Object.batchLoadJsFiles (https://lib/WAServiceMainContext.js:1:145856)\n' +
  '    at x.loadJsFiles (https://lib/WAServiceMainContext.js:1:2340370)\n' +
  '    at L (https://lib/WAServiceMainContext.js:1:2345673)\n' +
  '    at Function.<anonymous> (https://lib/WAServiceMainContext.js:1:2346725)\n' +
  '    at qt.<anonymous> (https://lib/WAServiceMainContext.js:1:2342589)',
Ds: '2024-07-23',


从7月16日起出现大量Cannot set properties of undefined (setting \\'platform\\'),排查了一下所有用到platform的地方,发现均无改动,而且已经运行了好几个月,使用source map也发现无法定位。请问这是个什么问题?


回答关注问题邀请回答
收藏
登录 后发表内容