VisActor / VisActor/VUtil

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

Open
#203 1 comment 0 reactions 1 assignee View on GitHub

@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
  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"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.