angular2 TypeError: Cannot set property 'name' of undefined
问题 I have an Angular2 project, created at Mac OS and it running. But when I git it at Windows, it can not run. In Chrome, i get this error: core.umd.js:3491 EXCEPTION: Uncaught (in promise): TypeError: Cannot set property 'name' of undefined TypeError: Cannot set property 'name' of undefined at new EmptyError (http://localhost:3000/node_modules/rxjs/util/EmptyError.js:21:30) at FirstSubscriber._complete (http://localhost:3000/node_modules/rxjs/operator/first.js:148:31) at FirstSubscriber