Giter Site home page Giter Site logo

Comments (7)

sanohin avatar sanohin commented on June 4, 2024

It fails with Angular 2.0.0 with error "Uncaught Error: Unexpected value 'e' imported by the module 'AppModule'(…)" while the previous version failed with "Uncaught Error: Unexpected value 't' imported by the module 'AppModule'(…)".
I use webpack to build an app.

from angular2-color-picker.

garethlewis avatar garethlewis commented on June 4, 2024

For some reason, if I use Angular 2.0.0 and webpack it does work, but from Angular 2.0,1 onwards it fails. I can only guess as to what has changed, but the Angular 2 did introduce AOT, though that could be a red herring in this case.

from angular2-color-picker.

Alberplz avatar Alberplz commented on June 4, 2024

There is a example with webpack in the project. I've compiled with Angular 2.0.0 and Angular 2.1.0 and it works

from angular2-color-picker.

garethlewis avatar garethlewis commented on June 4, 2024

Thanks, I have just updated my project to use version 1.3.0 and it now loads the color picker correctly.

from angular2-color-picker.

stevenxxiu avatar stevenxxiu commented on June 4, 2024

It's started to fail again as of angular 2.2.3 with the same error in the first post , here are my versions:

"@angular/common": "^2.2.3",
"@angular/compiler": "^2.2.3",
"@angular/core": "^2.2.3",
"@angular/forms": "^2.2.3",
"@angular/http": "^2.2.3",
"@angular/platform-browser": "^2.2.3",
"@angular/platform-browser-dynamic": "^2.2.3",
"@angular/router": "^3.2.3",
"angular2-color-picker": "^1.3.0",

from angular2-color-picker.

bengle avatar bengle commented on June 4, 2024

In version 2.2.0 , I get this error again.

from angular2-color-picker.

avoliva avatar avoliva commented on June 4, 2024

I'm getting this error too. I'm using the latest version of angular which as of right now is 5.0.2.

I'm assuming this library hasn't been updated for angular 4

from angular2-color-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.