question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue when loading ColorPickerModule in App Module

See original GitHub issue

ERROR 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:open
  • Created 6 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
sconixcommented, Oct 14, 2017

This is unmaintained library, there is a maintained + actively developed version called ngx-color-picker.

1reaction
sicksickcommented, Aug 21, 2017

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’.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found