-
Notifications
You must be signed in to change notification settings - Fork 48
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
Running the examples #3
Comments
I'm also having the same problem using the package on its own in my project. |
For me the issue was I had to update vis-data from ^6.0.0 to ^7.0.0 |
Update vis-data vis-timeline and vis-utils to their latest and matching versions. This gets rid of the issue: Error message: ./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'.
Update vis-data vis-timeline and vis-utils to their latest and matching versions. This gets rid of the issue: Error message: ./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'.
I will deploy a fix thanks |
Hello, thanks for the lib ! I'm also trying to run examples, but i'm having the same issues as @dotgreg, i've already checked your last commit and updated my dependencies but it's still not working. Do you have any clues ? Thanks :) |
@KillianBaillifLS #16 fixed that for me, though the solution is still temporary |
Overview
Failure to compile examples
Error message:
./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'.
Package versions
react-visjs-timeline: 2.0.3
vis version: 4.21.0
Steps to reproduce
I have cloned the repo and tried to run the examples:
git clone https://github.com/razbensimon/react-vis-timeline.git
cd react-vis-timeline/examples
npm install
npm start
Code Snippet
I have made no change in the latest code
Related issues
After running and getting the error, I've noticed that the vis package was not installed. I installed it (version 4.21.0), but the error continued the same.
Screenshots (if appropriate)
The text was updated successfully, but these errors were encountered: