TypeError: Attempted to assign to readonly

(9) 文件src/project.js执行出现异常
TypeError: Attempted to assign to readonly property., 在文件/game.js(行137,列33533), 堆栈:/game.js:137:33533
r@/game.js:137:290
l@/game.js:137:449
/game.js:137:465

js@/game.js:11:310
handle@/game.js:2:391721
a@/game.js:2:404282
a@/game.js:2:404541
a@/game.js:2:404541
a@/game.js:2:404541
flowIn@/game.js:2:405429
append@/game.js:2:399485
load@/game.js:2:380443
prepare@/game.js:2:131288
run@/game.js:2:131466
boot@/game.js:134:1103
/game.js:143:802

/game.js:144:13

i

callback
update

forEach@[native code]
update
creator打包微信小游戏发布到QQ平台上,开发者工具没有报错,网页和模拟器也没有报错,ios真机都会报这种错误,无法进入游戏,请问是什么原因?

已解决,QQ平台不支持window.Gobal={}的全局写法

请问你怎么改的?(window. 这种写法怎么改?)

模块化脚本module.exports={},使用之前先在引用的脚本之前require