Skip to content

WARNING export 'withTooltipPropTypes' (imported as 'vxTooltipPropTypes') was not found #208

Description

@schwannden

I have the following dependency in package.json

"@data-ui/xy-chart": "^0.0.84",
"@vx/tooltip": "^0.0.192"

When running yarn start (compiling the project), webpack gives warning

WARNING in ./node_modules/@data-ui/shared/esm/enhancer/WithTooltip.js 3:60-78
export 'withTooltipPropTypes' (imported as 'vxTooltipPropTypes') was not found in '@vx/tooltip/build/tooltips/TooltipWithBounds' (possible exports: __esModule, default)
 @ ./node_modules/@data-ui/shared/esm/index.js 1:71-151 1:71-151 1:71-151
 @ ./node_modules/@data-ui/xy-chart/esm/chart/XYChart.js 11:0-46 301:33-44
 @ ./node_modules/@data-ui/xy-chart/esm/index.js 2:0-84 2:0-84 2:0-84
...

And This line of import seems indeed to be invalid:

withTooltipPropTypes as vxTooltipPropTypes,

considering that withTooltipPropTypes really is not found in tooltip package: https://github.com/airbnb/visx/blob/master/packages/visx-tooltip/src/tooltips/TooltipWithBounds.tsx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions