angular2出现zone.js错误

错误:

Unhandled Promise rejection: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten. Most likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.) ; Zone: ; Task: Promise.then ; 


解决办法:

更新zone.js 到0.8.19 版本

npm install zone.js@^0.8.19 --save

你可能感兴趣的:(angular2出现zone.js错误)