Giter Site home page Giter Site logo

Comments (5)

isaacplmann avatar isaacplmann commented on May 19, 2024

This comment says that the 3.0.0 error is solved in 3.0.1. Try that version.

from ngx-graph.

changev avatar changev commented on May 19, 2024

@isaacplmann thank you !

but v3.0.1 also bring this error Error: Metadata version mismatch for module ./node_modules/@swimlane/ngx-graph/release/ngx-graph.module.d.ts, found version 4, expected 3

from ngx-graph.

isaacplmann avatar isaacplmann commented on May 19, 2024

Ok, it looks like 3.0.1 was incorrectly compiled with Angular 5. You have 2 options at this point:

  1. Work around the 3.0.0 bug. If I remember correctly that error message doesn't actually break any functionality.

  2. Upgrade to Angular 5.x and the latest ngx-graph version. Upgrading to Angular 5 was really easy for me - there are only a couple search and replace changes to make.

from ngx-graph.

changev avatar changev commented on May 19, 2024

@isaacplmann Thank you.
unfortunately 3.0.0 breaks after aot build.

main.b45e21b5165ccf6e82aa.bundle.js:158 ERROR TypeError: Cannot read property '_in' of undefined

seems it can't build links.

from ngx-graph.

assafsun avatar assafsun commented on May 19, 2024

Closing this issue because ngx-graph is working with Angular 6.
If this issue still relevant, please reopen it or submit a new issue.
Thanks.

from ngx-graph.

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.