components icon indicating copy to clipboard operation
components copied to clipboard

newly created angular-cli app getting error in console

Open goleary opened this issue 9 years ago • 3 comments

Bug, feature request, or proposal:

bug

What is the expected behavior?

I have added a <button md-button></button> component but I get an error in the console. Its the only thing in the entire application

What is the current behavior?

When I use angular-cli to serve the application I see this error: image

What are the steps to reproduce?

Bug can be seen by serving the application in this repo: https://github.com/goleary/strava-extended-stats

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Is there anything else we should know?

goleary avatar Jan 17 '17 05:01 goleary

This is probably an issue with zone.js. There was an extensive discussion about this issue https://github.com/angular/zone.js/issues/427.

One suggestion from above thread is pinning zone.js at 0.7.2.

irfanhudda avatar Jan 17 '17 06:01 irfanhudda

pinning solved my problem. Thanks!

goleary avatar Jan 17 '17 17:01 goleary

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.