I am getting the error message:
Unhandled Promise rejection: Zone.assertZonePatched is not a function
Although I am importing zonejs correctly in index.html:
<script src="https://unpkg.com/zone.js@0.6.17/dist/zone.js"></script>
Here is the code:
Plnkr: http://plnkr.co/edit/zZYOcgxcRINx23JhuxOk?p=preview
What is wrong here?
Update zone.js pakage by zone.js@0.6.21
<script src="https://unpkg.com/zone.js@0.6.21/dist/zone.js"></script>
Update zone.js package by zone.js@0.6.23,
<script src="https://unpkg.com/zone.js@0.6.23?main=browser"></script>
Update package.json file
"zone.js": "0.6.25"
inside dependencies
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With