Open mydoal opened 9 months ago
Hi @mydoal, can you provide me with a package.json for review to see if anything is missing, perhaps you missed including the Angular animation module? Which TypeScript version do you use?
Thank you for the prompt reply. The Angular animation is already imported in the module. The TypeScript version is "typescript": "2.6.2".
Please, can you provide me with a package.json file as I am having trouble setting up my environment for Angular version 5?
It seems that although the documentation claims support for Angular 5+, when trying to compile versions 1.0.1-1.0.6, there are many compilation errors.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1 '=' expected.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2 '=' expected.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12 '=' expected.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12 '=' expected.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23 '=' expected.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23 '(' expected.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1 Cannot find name 'import'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 1 Property 'AnimationTriggerMetadata' does not exist on type '"@angular/animations/src/animation_metadata"'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2 Cannot find name 'import'.
[01:53:53] typescript: ...picker/components/parts/color-preset-sublist/color-preset-sublist.animation.d.ts, line: 2 Property 'AnimationTriggerMetadata' does not exist on type '"@angular/animations/src/animation_metadata"'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12 Cannot find name 'import'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/hsla-input/hsla-input.component.d.ts, line: 12 Property 'Hsla' does not exist on type '"../../../../helpers/hsla.class"'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12 Cannot find name 'import'.
[01:53:53] typescript: ...ab/ngx-color-picker/components/parts/inputs/rgba-input/rgba-input.component.d.ts, line: 12 Property 'Rgba' does not exist on type '"../../../../helpers/rgba.class"'.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23 Cannot find name 'import'.
[01:53:53] typescript: ...m-working.camera/node_modules/@iplab/ngx-color-picker/helpers/control.class.d.ts, line: 23 Property 'Observable' does not exist on type '"rxjs/internal/Observable"'.