[Bug] 无法在低于nodejs 18的环境下使用
Open
@Rui-Sun is already working on this.
Since Aug 25, 2024.
bug
- Dominant language
- TypeScript
- Stars
- 43
- Forks
- 11
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
Version
1.6.1
Link to Minimal Reproduction
yarn add @visactor/react-vtable 在node 16版失败
Steps to Reproduce
- 使用全新的开发环境,确保nodejs 版本低于18,大于官方要求的10,我的版本为v16.20.2
- 使用yarn add @visactor/react-vtable进行安装
- 会报错,提示simple-statistics的版本必须>=18.0
- 修改yarn.lock,将simple-statistics的版本修改7.8.3则可以修复本问题。
- 原因:@visactor/vdataset依赖 "simple-statistics": "^7.7.3",
- 对策:将@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"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.