You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to integrate Highcharts and Highcharts React Official into a Next.js 15.1.2 app, the following errors occur:
1. SeriesRegistry TypeError:
• Errors like Cannot read properties of undefined (reading 'SeriesRegistry') imply an issue with Highcharts module initialization, potentially due to version mismatches or missing configurations.
2. AST Undefined Error:
• Cannot read properties of undefined (reading 'AST') is another sign of improper module integration or compatibility issues
3. Build and ESLint Errors:
• During npm run build, the build process fails with:
• TypeError: Cannot read properties of undefined (reading 'SeriesRegistry').
• ESLint error: Cannot serialize key "parse" in parser: Function values are not supported.
Steps to Reproduce:
1. Install Dependencies:
• Run: npm install highcharts highcharts-react-official.
2. Run Development Server:
• Command: npm run dev.
• Errors occur when accessing the app at the local server address (e.g., http://localhost:3000).
3. Build for Production:
• Command: npm run build.
• Fails with TypeError: Cannot read properties of undefined (reading 'SeriesRegistry').
Observations:
• Highcharts Version: 12.1.0
• Highcharts React Official Version: 3.2.1
• Next.js: 15.1.2
• React: >19
• Multiple ports (3000, 3001, 3002) were tried without success.
The text was updated successfully, but these errors were encountered:
Description:
DEMO LINK : https://replit.com/@rickybharti01/RundownLimeMoto
While attempting to integrate Highcharts and Highcharts React Official into a Next.js 15.1.2 app, the following errors occur:
1. SeriesRegistry TypeError:
• Errors like Cannot read properties of undefined (reading 'SeriesRegistry') imply an issue with Highcharts module initialization, potentially due to version mismatches or missing configurations.
2. AST Undefined Error:
• Cannot read properties of undefined (reading 'AST') is another sign of improper module integration or compatibility issues
3. Build and ESLint Errors:
• During npm run build, the build process fails with:
• TypeError: Cannot read properties of undefined (reading 'SeriesRegistry').
• ESLint error: Cannot serialize key "parse" in parser: Function values are not supported.
Steps to Reproduce:
1. Install Dependencies:
• Run: npm install highcharts highcharts-react-official.
2. Run Development Server:
• Command: npm run dev.
• Errors occur when accessing the app at the local server address (e.g., http://localhost:3000).
3. Build for Production:
• Command: npm run build.
• Fails with TypeError: Cannot read properties of undefined (reading 'SeriesRegistry').
Observations:
• Highcharts Version: 12.1.0
• Highcharts React Official Version: 3.2.1
• Next.js: 15.1.2
• React: >19
• Multiple ports (3000, 3001, 3002) were tried without success.
The text was updated successfully, but these errors were encountered: