admin管理员组文章数量:1026989
I am encountering this problem while my cordova app tries to run on my smartphone.
I'm using angular cli. I searched for the error specified and what I found was a closed issue on github where the solution (which worked for many) is to put the assets listed in .angular-cli.json in an array. The point is that my assets are already in an array. I've tried to look further but that issue is the only thing I've found.
However, compiling webpacks is successful and not by mistakes. The only mistake appears in the browser and is that of the title.
I have no idea what to do.
I am encountering this problem while my cordova app tries to run on my smartphone.
I'm using angular cli. I searched for the error specified and what I found was a closed issue on github where the solution (which worked for many) is to put the assets listed in .angular-cli.json in an array. The point is that my assets are already in an array. I've tried to look further but that issue is the only thing I've found.
However, compiling webpacks is successful and not by mistakes. The only mistake appears in the browser and is that of the title.
I have no idea what to do.
Share Improve this question asked Oct 19, 2017 at 16:08 Nad GNad G 5172 gold badges10 silver badges21 bronze badges1 Answer
Reset to default 46This can be caused by lack of ES6 support. Can you try adding/uncommenting following in your Polyfill.ts
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';
I am encountering this problem while my cordova app tries to run on my smartphone.
I'm using angular cli. I searched for the error specified and what I found was a closed issue on github where the solution (which worked for many) is to put the assets listed in .angular-cli.json in an array. The point is that my assets are already in an array. I've tried to look further but that issue is the only thing I've found.
However, compiling webpacks is successful and not by mistakes. The only mistake appears in the browser and is that of the title.
I have no idea what to do.
I am encountering this problem while my cordova app tries to run on my smartphone.
I'm using angular cli. I searched for the error specified and what I found was a closed issue on github where the solution (which worked for many) is to put the assets listed in .angular-cli.json in an array. The point is that my assets are already in an array. I've tried to look further but that issue is the only thing I've found.
However, compiling webpacks is successful and not by mistakes. The only mistake appears in the browser and is that of the title.
I have no idea what to do.
Share Improve this question asked Oct 19, 2017 at 16:08 Nad GNad G 5172 gold badges10 silver badges21 bronze badges1 Answer
Reset to default 46This can be caused by lack of ES6 support. Can you try adding/uncommenting following in your Polyfill.ts
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';
本文标签:
版权声明:本文标题:javascript - Uncaught TypeError: pre,template,textarea,script,style is not iterable - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1738071611a1544646.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论