Farata / angular2typescript

Code samples from the book Angular 2 Development with TypeScript
MIT License
440 stars 270 forks source link

Chrome run-time issues with chapter8 - npm run-script dev #5

Open pranasblk opened 8 years ago

pranasblk commented 8 years ago

Server side IntelliJ IDEA 2016.2 node plugin > 'dev' task on chapter 8 http_websockets_sample:

/usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js run-script dev

> @ dev /Users/pb/work/angular2typescript/chapter8/http_websocket_samples
> nodemon build/auction-rest-server-angular.js

[nodemon] 1.10.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node build/auction-rest-server-angular.js`
Listening on 127.0.0.1 8000
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node build/auction-rest-server-angular.js`
Listening on 127.0.0.1 8000

MacOS Chrome Version 51.0.2704.106 (64-bit) - http://localhost:8000/ console:

browser_adapter.ts:82EXCEPTION: Error in ./BidComponent class BidComponent_Host - inline template:0:0BrowserDomAdapter.logError @ browser_adapter.ts:82BrowserDomAdapter.logGroup @ browser_adapter.ts:93ExceptionHandler.call @ exception_handler.ts:58(anonymous function) @ application_ref.ts:417ZoneDelegate.invoke @ zone.js:323onInvoke @ ng_zone_impl.ts:72ZoneDelegate.invoke @ zone.js:322Zone.run @ zone.js:216NgZoneImpl.runInner @ ng_zone_impl.ts:104NgZone.run @ ng_zone.ts:219ApplicationRef_.run @ application_ref.ts:405ApplicationRef_.bootstrap @ application_ref.ts:429(anonymous function) @ application_ref.ts:169ZoneDelegate.invoke @ zone.js:323onInvoke @ ng_zone_impl.ts:72ZoneDelegate.invoke @ zone.js:322Zone.run @ zone.js:216(anonymous function) @ zone.js:571ZoneDelegate.invokeTask @ zone.js:356onInvokeTask @ ng_zone_impl.ts:61ZoneDelegate.invokeTask @ zone.js:355Zone.runTask @ zone.js:256drainMicroTaskQueue @ zone.js:474ZoneTask.invoke @ zone.js:426