angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Errors with zonejs v0.7.0

Open alexbyk opened this issue 10 years ago • 5 comments

zone.js:21Uncaught ReferenceError: Zone is not defined

alexbyk avatar Nov 22 '16 04:11 alexbyk

You have to add @types for it.

kwojcik-blockether avatar Nov 22 '16 14:11 kwojcik-blockether

I added the @types and still got an error with ng serve

the-destro avatar Nov 22 '16 17:11 the-destro

It's not just with ng-serve...it happens running under IIS as well. It's a run-time issue when zone.js is run in the browser. Adding the @types for zone.js won't help. I reverted my zone.js back to 0.6.xx and everything was fine. I haven't tried the [email protected] yet. We are on the bleeding edge here :)

vcdassen-home1 avatar Nov 25 '16 17:11 vcdassen-home1

looks like it is fixed with a combination of angular-cli beta.21 and zone.js 0.7.2 (latest), at least for running ng serve. I also updated my angular2 to the latest stable release

vcdassen-home1 avatar Nov 25 '16 21:11 vcdassen-home1

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.