Farata / angular2typescript

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

This package is needed for the WebSocket example to work properly. #18

Closed ychaikin closed 3 years ago

ychaikin commented 7 years ago

Without this package, it seems the code samples don't work. The browser reports the following errors:

GET http://localhost:8000/node_modules/reflect-metadata/Reflect.js 
localhost/:10 GET http://localhost:8000/node_modules/reflect-metadata/Reflect.js 404 (Not Found)
(index):15 Error: (SystemJS) reflect-metadata shim is required when using class decorators
Error loading http://localhost:8000/app/websocket-observable-service-subscriber.ts
yfain commented 7 years ago

Two months ago this sample worked fine without Reflect.js, but I'll test it again. Thanks.

ychaikin commented 7 years ago

@yfain To be clear, this is when you use websocket-observable-service-subscriber as the starting point.