-
Notifications
You must be signed in to change notification settings - Fork 70
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
WARNING export 'withTooltipPropTypes' (imported as 'vxTooltipPropTypes') was not found #208
Comments
Also experiencing this issue with @data-ui/histogram. I tried rolling back to @vx/tooltip 0.0.165 to match the dependency of data-ui/histogram, but it had no impact. |
Altering
To read;
Resolved the issue as withTooltopPropTypes exists here. |
@schwannden @phenry2 Have you found a fix or workaround here? I'm upgrading to webpack 5 and now I'm starting to run into this as well. |
Sorry, I gave up and switched to a completely different package in the end. Everything I tried seemed to make it worse. |
I was able to hack around this problem following the suggestion here: #208 (comment) The imports should look like this:
I pushed a custom fork (with only the above fix) to our internal registry and that was enough to get past my most immediate obstacle. Agreed that the appropriate long-term strategy is to ditch data-ui entirely. |
Hey, what package did you switch to? |
Start using carbon charts, they have a nice histogram. https://github.com/carbon-design-system/carbon-charts |
It's not a solution to this issue 😅 |
I have the following dependency in package.json
When running yarn start (compiling the project), webpack gives warning
And This line of import seems indeed to be invalid:
data-ui/packages/shared/src/enhancer/WithTooltip.jsx
Line 7 in 169dd6d
considering that withTooltipPropTypes really is not found in tooltip package: https://github.com/airbnb/visx/blob/master/packages/visx-tooltip/src/tooltips/TooltipWithBounds.tsx
The text was updated successfully, but these errors were encountered: