Giter Site home page Giter Site logo

Comments (8)

larrylian avatar larrylian commented on May 18, 2024

Angular-core 5.1.0下,直接整个组件用不了

from ngx-echarts.

xieziyu avatar xieziyu commented on May 18, 2024

@larrylian 什么问题?能否贴出错误信息?

from ngx-echarts.

zuisong avatar zuisong commented on May 18, 2024

同样出现问题

from ngx-echarts.

xieziyu avatar xieziyu commented on May 18, 2024

Demo使用的是Angular 5.2.0,没有发现问题

from ngx-echarts.

krisklosterman avatar krisklosterman commented on May 18, 2024

I upgrade to 5.1.0 an am getting a lot of Observable Errors in console

TypeError: __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__.Observable.of is not a function
ERROR TypeError: __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__.Observable.empty is not a function

I upgraded to 5.2.0 and same errors

I tried downgrading some of the other dependencies and still same errors

    "core-js": "^2.4.1",
    "echarts": "^4.0.2",
    "rxjs": "^5.5.2",
    "zone.js": "^0.8.14",
    "ngx-echarts": "^2.0.2",

@xieziyu

from ngx-echarts.

xieziyu avatar xieziyu commented on May 18, 2024

@krisklosterman Could you please provide a GitHub project to reproduce this issue? I didn't meet the error when I upgrade angular to >= 5.1.0.

from ngx-echarts.

krisklosterman avatar krisklosterman commented on May 18, 2024

I resolved my issue by updating my tsconfig.app.json and removing a path for echarts that was in there.

    "paths": {
      "@angular/*": [
        "../node_modules/@angular/*"
      ]
// Echarts Path was here
    }
  },

from ngx-echarts.

xieziyu avatar xieziyu commented on May 18, 2024

Glad to know that

from ngx-echarts.

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.