dosubot[bot] commented on issue #41266: URL: https://github.com/apache/superset/issues/41266#issuecomment-4762261845
<!-- Answer --> This is a known issue that has been reported before (see [#39219](https://github.com/apache/superset/issues/39219)). `ChunkLoadError` is almost always caused by **stale cached assets** — the browser holds a reference to a JS/CSS chunk from a previous build after a deploy or version change [[1]](https://github.com/apache/superset/issues/39219). A **hard refresh** (Ctrl+Shift+R / Cmd+Shift+R) or clearing the browser cache typically resolves this. However, there are two things worth noting for your environment: 1. **Node version mismatch**: You're using Node 16, but the current master branch requires **Node ^20.16.0** (recommended v20.18.3 per the `.nvmrc` file) [[2]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/package.json#L354-L357) [[3]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/.nvmrc). Building the frontend assets with an unsupported Node version can produce broken or incompatible chunks. This is very likely the root cause of your issue. 2. **No built-in retry logic**: Superset does not currently implement any retry mechanism for failed chunk loads — it relies on standard React `ErrorBoundary` and `Suspense` patterns [[4]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/components/ErrorBoundary/index.tsx#L37-L40). **Recommended fix**: Upgrade to Node 20 (specifically v20.18.3), rebuild your frontend assets (`npm ci && npm run build`), clear your browser cache, and try again. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=4ba18750-3418-4ca4-a6f4-06741525f26a) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
