Same error. So I thought it must be the react dependencies.
So I added the key '@nivo/boxplot' and value='^0.87.0' to both the frontend/package.json and frontend/package-locked.json under the appropriate dependency key.
Same error. So I then added the key "node_modules/@nivo/boxplot" and the value:
I know this is a hacky way but I have no knowledge of typescript and can't fork the repo myself. Is the install of the nivo charts happening when you install the actual repo? If so what is the best method to get the new charts in?
I'm wanting to use nivo boxplot for my app but I get the error:
Element BoxPlot does not exist in module chartNivo
I did some digging in the repo and to frontend/components/modules/charts/Nivo.tsx added the line:
BoxPlot: dynamic(() => import("@nivo/boxplot").then(m => m.ResponsiveBoxPlot), { loading: ElementsLoading, ssr: false })
Same error. So I thought it must be the react dependencies. So I added the key '@nivo/boxplot' and value='^0.87.0' to both the frontend/package.json and frontend/package-locked.json under the appropriate dependency key.
Same error. So I then added the key "node_modules/@nivo/boxplot" and the value:
to the package-locked.json
Also the same error.
I know this is a hacky way but I have no knowledge of typescript and can't fork the repo myself. Is the install of the nivo charts happening when you install the actual repo? If so what is the best method to get the new charts in?