angular2 TypeError: Cannot set property 'name' of undefined

梦想与她 提交于 2019-12-05 03:17:30
Blockchain Nerd

Did you use zone.js 0.7.3 in package.json? if so please change to 0.7.2 to try:

"zone.js": "0.7.2"

run npm install to try.

Currently best way is to downgrade/upgrade zone.js to 0.7.4

npm install --save zone.js@0.7.4

Zone 0.8.x is out now and has much better stack traces and also has this bug fixed:

"zone.js": ">=0.8.12"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!