highcharts / highcharts/highcharts-react

TypeError bundling v5.3.0

Open
#585 3 comments 4 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.2k
Forks
111
Avg merge
9h 25m
Merged PRs (30d)
2

Description

#### Description

When bundling v5.3.0 in vite our page fails to load with this error in the console:

`Uncaught TypeError: X.seriesTypes.sma is undefined`

Downgrade to v5.2.2 seems to resolve the problem.

#### Product version

```
"@highcharts/react": "5.3.0",
"highcharts": "13.0.2",
```

#### Affected browser(s)

All? Tested in Firefox Dev + Chrome.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by bundling the listed @highcharts/react 5.3.0 and highcharts 13.0.2 versions with Vite, then compare against @highcharts/react 5.2.2. Start from the X.seriesTypes.sma error and trace why the SMA series is unavailable; done means the page loads successfully with v5.3.0 in Firefox and Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, vite
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.