错误:尝试导入错误:“isDataViewLike”未从“vis-data/esnext/esm/vis-data.js”导出

问题描述

我克隆并运行了 react-vis-timeline 示例。 但是出现了以下错误,我无法解决。

./node_modules/vis-timeline/esnext/esm/vis-timeline-graph2d.js
Attempted import error: 'isDataViewLike' is not exported from 'vis-data/esnext/esm/vis-data.js'.

我使用了以下命令:

git clone https://github.com/razbensimon/react-vis-timeline.git
cd react-vis-timeline/examples
npm install
npm start

react-vis-timeline 的 repo 报告了同样的问题。 但是没有解决办法。 帮我。 谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)