afrad / angular2-websocket

Websocket wrapper for angular2 based on angular-websocket
Apache License 2.0
210 stars 84 forks source link

ERROR in $WebSocket is not an NgModule #64

Open LukGerman opened 7 years ago

LukGerman commented 7 years ago

Can't import angular2-websockets in a imports list inside @NgModule decorator. I think that your library can be very useful, but it looks like it's not well prepared to work with final version of angular. Thanks!

bkdotcom commented 7 years ago

could you elaborate? As someone that's currently using "angular2-websocket": "^0.8.1", in my project but unable to build with either the --prod or --aot flags (dreaded No NgModule metadata found for 'AppModule')... curious if webocket has anything to do with it