weex 编译报错“栈溢出”
本文介绍了weex 编译报错“栈溢出”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
执行weex index.we的时候页面报错,index.we里面就一个 text 标签。
Uncaught RangeError: Maximum call stack size exceeded
at Array.forEach (native)
at initEvents (http://172.19.20.185:8081/assets/weex-html5/weex.js:6080:21)
at new Vm (http://172.19.20.185:8081/assets/weex-html5/weex.js:3409:27)
at compileCustomComponent (http://172.19.20.185:8081/assets/weex-html5/weex.js:4940:16)
at compile (http://172.19.20.185:8081/assets/weex-html5/weex.js:4763:6)
at http://172.19.20.185:8081/assets/weex-html5/weex.js:5040:8
at Array.every (native)
at compileChildren (http://172.19.20.185:8081/assets/weex-html5/weex.js:5039:15)
at compileNativeComponent (http://172.19.20.185:8081/assets/weex-html5/weex.js:5021:6)
at compile (http://172.19.20.185:8081/assets/weex-html5/weex.js:4767:4)
原来是好的,突然报错,有重新安装过 weex-toolkit还是无法处理,各位大神这个要怎么处理?
解决方案
不知道啥问题,自己把环境重新安装了一遍,已经可以了
这篇关于weex 编译报错“栈溢出”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文