react-vis-timeline
react-vis-timeline copied to clipboard
Running the examples
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)

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
I will deploy a fix thanks
Hello and thanks for that project! Definitely excited to see it using the new vis-timeline library
I tried your fix on your last master commit, but the issue is still here unfortunately, I just cloned the repo and npm i & npm run start the ./examples folder

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