-
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
Attempted import error: 'isDataViewLike' is not exported from 'vis-data' #14
Comments
Upon investigating I see the same issue was reported on the visjs repo visjs/vis-timeline#744 and it looks like in ur package you just have to update the vis-data module. Also, I have tried the code above, and the exact sample in ur example directory. I have also tried with v2.0.0, v2.0.2, and of course the latest v2.0.3 and the issue exists in each of them. |
I'm having the same issue when i try to add the package to my project. |
/xxx/node_modules/.pnpm/[email protected]_9a15a4fd4e2f8fcf87b919d8ec046851/node_modules/vis-timeline/package.json
But This is because WorkaroundIf using pnpm, add to root
Use |
hey, i am just using npm. Any way I can apply this workaround? @vjpr |
Using this package solved the problem for me. https://www.npmjs.com/package/react-vis-timeline-2 |
I cannot get this working for me. I have tried:
I can see vis-data 7.1 is installed:
but I still get the error in my react 17 application:
is the current version working? |
Overview
build fails with error:
Failed to compile
./node_modules/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'.
Package versions
"react-vis-timeline": "^2.0.3",
"vis": "^4.21.0-EOL",
Steps to reproduce
I just added the sample code to my project and it fails. I can comment out the code and it builds fine with my other components. Below is the code from the sample that I added. I have removed my components so you can see the offending code. Am I missing an import or package?
Code Snippet
The text was updated successfully, but these errors were encountered: