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

图表示例中无图表显示 #5925

Closed
ZhoBudweiser opened this issue Dec 12, 2023 · 10 comments
Closed

图表示例中无图表显示 #5925

ZhoBudweiser opened this issue Dec 12, 2023 · 10 comments

Comments

@ZhoBudweiser
Copy link
Contributor

问题描述

在参与贡献的过程中,已经在本地运行起了官网代码,”文档“、”选项“、”API“等都可以正常显示(”主题“中的图表能正常显示),但是图表示例中无任何图表显示,点击基础图表、数据分析等下拉菜单,只发生了下拉箭头变化,没有下拉选项弹出。
image

重现链接

No response

重现步骤

$ git clone git@github.com:antvis/G2.git
$ cd G2
$ npm install
$ cd site
$ npm install
$ npm start

预期行为

预期应该有类似这样的界面
image

平台

  • 操作系统: Windows
  • 网页浏览器: Google Chrome, Microsoft Edge

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@pearmini
Copy link
Member

控制台有报错吗?

@ZhoBudweiser
Copy link
Contributor Author

控制台有报错吗?

这是控制台的输出,有一些警告
image

@ai-qing-hai
Copy link
Collaborator

@ZhoBudweiser 你在哪个分支? 这边一般使用 tnpm
image

@ZhoBudweiser
Copy link
Contributor Author

@ZhoBudweiser 你在哪个分支? 这边一般使用 tnpm image

我在v5分支,贡献文档里用的是npm

@ai-qing-hai
Copy link
Collaborator

@ZhoBudweiser 那你 node 的版本是多少? 这个也会有影响好像

@ZhoBudweiser
Copy link
Contributor Author

@ZhoBudweiser 那你 node 的版本是多少? 这个也会有影响好像

是v18.17.0,看样子可能版本太高了?

@ai-qing-hai
Copy link
Collaborator

@ZhoBudweiser 说是 widnows 的原因。 但这边没有 这个系统,没法复现。

@ZhoBudweiser
Copy link
Contributor Author

@ZhoBudweiser 说是 widnows 的原因。 但这边没有 这个系统,没法复现。

好的,我换个系统试试

@ZhoBudweiser
Copy link
Contributor Author

@ai-qing-hai 在wsl下重新部署了项目,问题解决了,确实是系统的问题

@pearmini
Copy link
Member

这里先关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants