Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刚刚创建的项目就报错啦! #628

Closed
arieslee opened this issue Nov 7, 2023 · 3 comments
Closed

刚刚创建的项目就报错啦! #628

arieslee opened this issue Nov 7, 2023 · 3 comments
Assignees
Labels
❌ Invalid This doesn't seem right

Comments

@arieslee
Copy link

arieslee commented Nov 7, 2023

tdesign-vue-next-starter 版本

0.9.0

重现链接

重现步骤

td-starter init 或者git clone项目到本地后cnpm install -S
然后npm run dev
页面白屏,查看控制台中报错
image

期望结果

能正常运行不报错

实际结果

报错

vue-router.mjs:3471 Error: Initialize failed: invalid dom.
    at Module.init2 (echarts.js:2210:13)
    at renderMoneyChart (TopPanel.vue:111:24)
    at renderCharts (TopPanel.vue:127:3)
    at TopPanel.vue:151:3
    at runtime-core.esm-bundler.js:2741:88
    at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:17)
    at hook.__weh.hook.__weh (runtime-core.esm-bundler.js:2721:19)
    at flushPostFlushCbs (runtime-core.esm-bundler.js:330:40)
    at flushJobs (runtime-core.esm-bundler.js:368:5)

框架版本

vue 3.2.0

浏览器版本

Chrome 版本 118.0.5993.118(正式版本) (64 位)

系统版本

Windows 10

Node版本

20.2.0

补充说明

Copy link

github-actions bot commented Nov 7, 2023

👋 @arieslee,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link

github-actions bot commented Nov 7, 2023

♥️ 有劳 @timi137137 @liweijie0812 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @arieslee

@timi137137
Copy link
Collaborator

cnpm安装了一个错误的echarts版本,请使用其他包管理器或者手动降级,在package.json中我们强制限定了该包使用的版本

@timi137137 timi137137 added the ❌ Invalid This doesn't seem right label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❌ Invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants