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/[email protected]/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 [email protected]
<script src="https://unpkg.com/[email protected]/dist/zone.js"></script>
Update zone.js package by [email protected],
<script src="https://unpkg.com/[email protected]?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