i solved the problem by add the follow script in the head part of index.html
<script>
window.setImmediate = window.setTimeout;
</script>
Q
Save
Saving
qdu123
@qdu123
0
Reputation
4
Posts
511
Profile views
0
Followers
0
Following
Posts made by qdu123
-
RE: Angular8 Load Error
-
Angular8 Load Error
I created a new Angular8 project with OnsenUI 2.10.8 version,After i build it for publish,there has an error “main-es2015.js:1 Uncaught ReferenceError: setImmediate is not defined”
-
RE: Ng build —prod error
My project is init by angular cli
i add onsenui and ngx-onsen by npm
when i build the project by ng build --prod command
the result is like follow up pic’s show.
-
Ng build —prod error
When i use ng build —prod to make the publish package ,the progress is stop at 11% ,how to deal with it?
But ng build is ok.without —prod args the deploy pack is >14m,it’s too much big