Issue when loading ColorPickerModule in App Module
See original GitHub issueERROR in Error encountered resolving symbol values statically. Calling function ‘makeDecorator’, function calls are not supported. Consider replacing the functi on or lambda with a reference to an exported function, resolving symbol NgModule,
package.json
{
"name": "my-color-picker",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.0.0",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"angular2-color-picker": "^1.3.1",
"core-js": "^2.4.1",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.1.2",
"@angular/compiler-cli": "^4.0.0",
"@angular/language-service": "^4.0.0",
"@types/jasmine": "2.5.45",
"@types/node": "~6.0.60",
"codelyzer": "~3.0.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-coverage-istanbul-reporter": "^1.2.1",
"protractor": "~5.1.2",
"ts-node": "~3.0.4",
"tslint": "~5.3.2",
"typescript": "~2.3.3"
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Angular2 Material & angular2-color-picker error - Stack Overflow
In your base module file (app.module.ts or similar) add below line import {ColorPickerModule} from 'angular2-color-picker';.
Read more >ngx-color-picker - npm
Load the module for your app: import { ColorPickerModule } from 'ngx-color-picker'; @NgModule({ ... imports: [ ... ColorPickerModule ] }) ...
Read more >Angular PrimeNG ColorPicker Component - GeeksforGeeks
Creating Angular application & module Installation: Step 1: Create an Angular application using the following command. ng new appname
Read more >Creating a Color Picker Component with Angular - malcoded
A new angular project for the color picker · src/app/color-picker/color-picker.module.ts. import { NgModule } from '@angular/core' import { CommonModule } from ' ...
Read more >Getting started with Angular ColorPicker component
Import ColorPicker module into Angular application(app.module.ts) from the package @syncfusion/ej2-angular-inputs .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is unmaintained library, there is a maintained + actively developed version called ngx-color-picker.
ERROR in /Users/sick/nodejs/absi-vis/node_modules/angular2-color-picker/node_modules/rxjs/Subject.d.ts (16,22): error TS2415: Class ‘Subject<T>’ incorrectly extends base class ‘Observable<T>’. Types of property ‘lift’ are incompatible. Type ‘<R>(operator: Operator<T, R>) => Observable<T>’ is not assignable to type ‘<R>(operator: Operator<T, R>) => Observable<R>’. Type ‘Observable<T>’ is not assignable to type ‘Observable<R>’. Type ‘T’ is not assignable to type ‘R’.