Giter Site home page Giter Site logo

Comments (11)

KillerCodeMonkey avatar KillerCodeMonkey commented on May 22, 2024

seems like it is an issue with aot. this needs a metadata-file. if you have further information. let me know.

edit:
Please try angular ^2.4.5 .. i am using this version. Do not know if cli or angular introduced some incompatibilities.

from ngx-quill.

KillerCodeMonkey avatar KillerCodeMonkey commented on May 22, 2024

Again:

tested with:

@angular/cli: 1.0.0-rc.1
node: 7.4.0
os: darwin x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.1
@angular/compiler-cli: 2.4.9

no problems --> works like charm.

Occurs because the different angular versions. please use the peer dependencies of ngx-quill. Thanks

I will upgrade or make it working if angular 4 is final

from ngx-quill.

maku avatar maku commented on May 22, 2024

When you generate the cli project for ng4 it does not work (and ng4 is not far away)

.e.g.

ng new ngx-quill-test --style=scss --ng4 true

from ngx-quill.

KillerCodeMonkey avatar KillerCodeMonkey commented on May 22, 2024

yeah i know... i tested it with v4. But i support this repo all on my own and in my free time.

And before supporting a rc, i will wait until it is final

from ngx-quill.

maku avatar maku commented on May 22, 2024

Yeah, I see, thank you for your effort.

BTW, the funny thing is that your source works without problems with ng4. Only the distributed lib does not work with ng4...

from ngx-quill.

KillerCodeMonkey avatar KillerCodeMonkey commented on May 22, 2024

what do you mean with distributed lib?

from ngx-quill.

maku avatar maku commented on May 22, 2024

The code which is used when I install the lib via npm (vs. only copying the source in the project)

from ngx-quill.

KillerCodeMonkey avatar KillerCodeMonkey commented on May 22, 2024

could you try the following?:

replace in the package.json of ngx-quill in your node_modules the angular version with: ^2.4.1 || 4.0.0-rc.2

from ngx-quill.

maku avatar maku commented on May 22, 2024

what I meant was: it works when you copy your sourcefiles directly in a ng4 project....

from ngx-quill.

KillerCodeMonkey avatar KillerCodeMonkey commented on May 22, 2024

i know, but i asked you if you may test it in your project, if you hacky set the angular versions in ngx-quill in the node_modules ;).

If you do not want to do it.. no problem

from ngx-quill.

maku avatar maku commented on May 22, 2024

O.k. I did this. But it has no effect (as expected).

from ngx-quill.

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.