Skip to content

Getting TypeError: Cannot read properties of undefined (reading 'prototype') for missing dependency "@highcharts_react_series_DependencyWheel.js" #557

@dharmendrasehgal

Description

@dharmendrasehgal

Hi Team,
Getting TypeError: Cannot read properties of undefined (reading 'prototype') for missing dependency @highcharts_react_series_DependencyWheel.js

Unexpected Application Error! Cannot read properties of undefined (reading 'prototype') TypeError: Cannot read properties of undefined (reading 'prototype') at http://localhost:3001/node_modules/.vite/deps/@highcharts_react_series_DependencyWheel.js?v=217abb84:49:28

Image

Code:

import { FC, ReactElement, useEffect, useMemo, useRef } from "react";
import { useDispatch, useSelector } from "react-redux";
import type { HighchartsReactRefObject } from "@highcharts/react";
import { Chart, Series, setHighcharts } from "@highcharts/react";
import "@highcharts/react/series/DependencyWheel";
import HC from "highcharts/esm/highcharts.js";
import "highcharts/esm/modules/dependency-wheel.js";
import "highcharts/esm/modules/non-cartesian-zoom";
import { Accessibility } from "@highcharts/react/options/Accessibility";

Please advise;

Note: getting same error for polar dependency missing;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions