Alberplz / angular2-color-picker

Angular 2 Color Picker Directive, no dependences required.
MIT License
185 stars 82 forks source link

Angular-CLI usage #50

Open Pariston opened 7 years ago

Pariston commented 7 years ago

Error: Unexpected value 'ColorPickerModule' imported by the module 'AppModule'

I get this error while importing color picker module inside my module file.

deilanexe commented 7 years ago

Same issue here. Followed instructions in the readme, except for adding lines in system.config.js.

webprofusion-chrisc commented 7 years ago

This is related to #40 as the root cause is how Angular 2 performs Ahead of Time compilation (AoT) using their ngc compiler (a wrapper to typescripts tsc compiler).

hansl commented 7 years ago

Hi, lead on Angular-CLI here. this is indeed a duplicate of #40. The CLI use the metadata files which are not published by this project.