influxdata / influxdata/chronograf
Chronograf (1.10.1) Cannot read properties of undefined (reading 'getInstance')
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 250
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 9
Description
What browser are you using (name and version)? Chrome Version 129.0.6668.59 (Official Build) (64-bit)
What operating system are you using? Windows 11 Version 23H2
Please describe what you were trying to do when you encountered this error: Trying to edit the CPU dashboard configuration
```
TypeError: Cannot read properties of undefined (reading 'getInstance')
at s.getInstance (http://192.168.53.211:8888/index.c5ba09e6.js:107:190219)
at s.componentDidMount (http://192.168.53.211:8888/index.c5ba09e6.js:107:190349)
at ws (http://192.168.53.211:8888/index.c5ba09e6.js:1:134781)
at Ml (http://192.168.53.211:8888/index.c5ba09e6.js:1:152426)
at v (http://192.168.53.211:8888/index.c5ba09e6.js:1:172695)
at ao (http://192.168.53.211:8888/index.c5ba09e6.js:1:96502)
at Al (http://192.168.53.211:8888/index.c5ba09e6.js:1:149092)
at bl (http://192.168.53.211:8888/index.c5ba09e6.js:1:145246)
at http://192.168.53.211:8888/index.c5ba09e6.js:1:96793
at v (http://192.168.53.211:8888/index.c5ba09e6.js:1:172695)
```
Contributor guide
Research direction
Start by reproducing the failure while editing the CPU dashboard configuration in Chronograf 1.10.1 using Chrome on Windows 11, then inspect the reported stack trace in index.c5ba09e6.js around getInstance and componentDidMount. Done means the CPU dashboard configuration editor opens without the TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100