-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promise polyfill has been loaded after Zone.j #413
Comments
@jrosseel can you send the meteor package definition |
@lekev This is the packages file in my meteor folder. Hope you meant that one. `Meteor packages used by this project, one per line. 'meteor add' and 'meteor remove' will edit this file for you, meteor-base@1.0.4 # Packages every Meteor app needs to have standard-minifier-css@1.2.0 # CSS minifier run for production mode angular2-compilers |
I suspect ecmascript to add Promise polyfill . you should remove it |
That was indeed the culprit. Thanks alot!!! Been trying to solve this for hours. |
I had the same problem, but removing I found out that both By the way, is In my project first thing I import is import 'angular2-meteor-polyfills'; Doesn't have to be in every file, just as the first import in the file that is loaded first. That way you can keep using |
Hi everyone,
I keep getting this error:
zone.js:355 Unhandled Promise rejection: Zone.js has detected that ZoneAwarePromise
(window|global).Promisehas 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: <root> ; Task: Promise.then ; Value: Error: Zone.js has detected that ZoneAwarePromise
(window|global).Promisehas 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.) at ...
Does anyone know what might cause this?
This occurred after I upgraded to angular 2.0.1 with angular2-meteor@0.7.0.
Here is my current package configuration:
![image](https://cloud.githubusercontent.com/assets/3729474/18921164/127c2bb6-85a4-11e6-88a1-94b25f4b8d50.png)
"dependencies": { "@angular/common": "^2.0.0", "@angular/compiler": "^2.0.0", "@angular/core": "^2.0.0", "@angular/forms": "^2.0.0", "@angular/http": "^2.0.0", "@angular/material": "^2.0.0-alpha.9", "@angular/platform-browser": "^2.0.0", "@angular/platform-browser-dynamic": "^2.0.0", "@angular/router": "^3.0.0-rc.1", "@angular/upgrade": "^2.0.0", "angular2-meteor": "^0.7.0-beta.3", "angular2-meteor-polyfills": "https://registry.npmjs.org/angular2-meteor-polyfills/-/angular2-meteor-polyfills-0.1.1.tgz", "bcrypt": "^0.8.7", "client": "^0.0.1", "meteor-node-stubs": "~0.2.0", "reflect-metadata": "^0.1.8", "rxjs": "^5.0.0-beta.12", "tether": "^1.3.6", "zone.js": "^0.6.25" }
The text was updated successfully, but these errors were encountered: