Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

fix(core): fix #405, refine the error message when zone.js already loaded - #728

Merged
mhevery merged 1 commit into
angular:masterfrom
JiaLiPassion:duplicate
Apr 10, 2017
Merged

fix(core): fix #405, refine the error message when zone.js already loaded#728
mhevery merged 1 commit into
angular:masterfrom
JiaLiPassion:duplicate

Conversation

@JiaLiPassion

Copy link
Copy Markdown
Collaborator

fix#405.

We often see that 'Zone.js already loaded' error, when we wrongly load zone.js twice, or load zone.js in some polyfill by incidentally.

In this PR, we will try to throw the error message as

Zonealreadyloaded.TheloadedZone.jsscriptfileseemstobepath/to/zone.js(orsomevender.bundle.js...)

So it will be easy to find out what is wrong, but it require the both zone.js to be upgrade to newer version (maybe 0.8.6)

@mhevery
mhevery merged commit f3a3af3 into angular:masterApr 10, 2017
mhevery added a commit that referenced this pull request Apr 10, 2017
@mhevery

Copy link
Copy Markdown
Contributor

@JiaLiPassion Sorry I had to revert this one as it broke the build. Can you reopen this as a new PR?

@JiaLiPassion

Copy link
Copy Markdown
CollaboratorAuthor

@mhevery,got it,I will make a new PR!

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uncaught Error: Zone already loaded

3 participants

@JiaLiPassion@mhevery@googlebot