Skip to content

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

Description

@yahong2018

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions