Giter Club home page Giter Club logo

Comments (9)

dohuuhuy avatar dohuuhuy commented on May 22, 2024

and then ? How solve ?

from echarts.

plainheart avatar plainheart commented on May 22, 2024

@dohuuhuy We are debugging this problem. Could you please provide more information? How can I reproduce this error?

from echarts.

dohuuhuy avatar dohuuhuy commented on May 22, 2024

you using nextjs 14
"dependencies": {
"axios": "^1.6.7",
"classnames": "^2.5.1",
"echarts": "^5.4.3",
"json-edit-react": "^1.2.2",
"lodash": "^4.17.21",
"lowdb": "^7.0.1",
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"sass": "^1.70.0",
"simple-git": "^3.22.0",
"styled-components": "5.2.0-test.12",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/lowdb": "^1.0.15",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/uuid": "^9.0.8",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"typescript": "^5"
}
node module show error ditto

from echarts.

plainheart avatar plainheart commented on May 22, 2024

Can you provide a minimal repo for reproduction? Thanks.

from echarts.

WangJincheng4869 avatar WangJincheng4869 commented on May 22, 2024

Can you provide a minimal repo for reproduction? Thanks.

最小的复制用处不大,因为这个错误非常玄学。我本地目前已经无法触发这个错了(可能是我这几天不开发echarts相关的部分导致的)。之前在 vue 3 中开发工具类时会出现这个错误,甚至 node_modules 目录上都红了,还忽略不了这就非常难受。再怎么说用 ES3 版本也是低了些,或者你们跟微软协商下,不让TS 5 有这个 ES5 的最低标准。

from echarts.

ArturV93 avatar ArturV93 commented on May 22, 2024

Can you provide a minimal repo for reproduction? Thanks.

To reproduce this issue, simply update TypeScript to version 5 or higher

from echarts.

janmiderback avatar janmiderback commented on May 22, 2024

Getting this problem too. Using TypeScript 5.3.3 and ECharts 5.4.3.
Blocker for us when migrating from Chart.js.

from echarts.

plainheart avatar plainheart commented on May 22, 2024

@janmiderback Is it possible to provide us more information? A repo or a demo link?

from echarts.

janmiderback avatar janmiderback commented on May 22, 2024

@plainheart Well this is a bit embarrassing... Out of a sudden it now seems to work. I have no clue what has changed, besides sleeping, reopening in VS Code and trying again. 🤦‍♂️

For what it's worth, I put up a working example here: echarts-ts5-working. Take it for what it is and if it is helpful to anyone, you're welcome.

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