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

[Bug] 无法在低于nodejs 18的环境下使用 #203

Open
yahong2018 opened this issue Aug 24, 2024 · 1 comment
Open

[Bug] 无法在低于nodejs 18的环境下使用 #203

yahong2018 opened this issue Aug 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@yahong2018
Copy link

Version

1.6.1

Link to Minimal Reproduction

yarn add @visactor/react-vtable 在node 16版失败

Steps to Reproduce

  1. 使用全新的开发环境,确保nodejs 版本低于18,大于官方要求的10,我的版本为v16.20.2
  2. 使用yarn add @visactor/react-vtable进行安装
  3. 会报错,提示simple-statistics的版本必须>=18.0
  4. 修改yarn.lock,将simple-statistics的版本修改7.8.3则可以修复本问题。
  5. 原因:@visactor/vdataset依赖 "simple-statistics": "^7.7.3",
  6. 对策:将@visactor/vdataset依赖更改为 "simple-statistics": "~7.8.3"

Current Behavior

无法通过yarn add @visactor/react-vtable进行安装

Expected Behavior

希望可以通过yarn add @visactor/react-vtable进行安装

Environment

- OS:  Windows
- Browser: Edge
- Framework: WebPack 4

Any additional comments?

将@visactor/vdataset依赖更改为 "simple-statistics": "~7.8.3"

@yahong2018 yahong2018 added the bug Something isn't working label Aug 24, 2024
@yahong2018
Copy link
Author

simple-statistics 最新版要求nodejs 必须大于18会导致本问题出现。

@Rui-Sun Rui-Sun transferred this issue from VisActor/VTable Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants