Comments (6)
Looking at the call stack, it seems like the error comes from here:
https://github.com/webpack/webpack/blob/23c39437617d5ff8de4120911e728b0f56a5fed5/lib/web/JsonpChunkLoadingRuntimeModule.js#L177
And when stepping through the code, the last line I could get to was the setTimeout
on line 201
here:
https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/loadable.shared-runtime.tsx#L196-L207
from next.js.
Changing installedChunkData[1](error);
to console.error(error);
in https://github.com/webpack/webpack/blob/23c39437617d5ff8de4120911e728b0f56a5fed5/lib/web/JsonpChunkLoadingRuntimeModule.js#L193 seems to superficially fix the issue and blocking the chunk no longer causes the application to crash.
from next.js.
while using next/dynamic
do u have this type of code with your file paths in page source?. while clicking view page source.
from next.js.
@john-subba I'm not sure what you're asking, but I think your issue might be different and related to #64386
from next.js.
@TxHawks while using next/dynamic this appears in your page source. I mean to ask does this appear in your website page source too?.
While clicking view page source.
from next.js.
You can look at the reproduction code here: https://github.com/Txhawks/missing-chunk-error
And at a deployed version of it here: https://missing-chunk-error.vercel.app/
from next.js.
Related Issues (20)
- Build Error: Parsing css source code failed HOT 5
- Route Handlers Crash with bcrypt (see: #46493) HOT 5
- Forms example does not work with useActionState
- Failed to reload dynamic routes: Error: Catch-all must be the last part of the URL.
- static-export get searchParams is empty HOT 1
- static-export get searchParams is empty
- generateMetadata example not working HOT 1
- Use of deprecated dependency that leaks memory in `eslint-config-next` (inflight 1.0.6)
- 'next/dynamic' - SSR does not seem to work for dynamically imported components. HOT 1
- Duplicate Requests in Next.js 14 on Server Side with Parallel Routes and Intercepting Routes
- `router.replace()` on pages with query params cause entire page re-render on Next 14.2.3 HOT 1
- Form state not updating and suspended components reloading on first server action submission when using revalidatePath with loading.tsx in app router HOT 1
- `router.replace()` on pages with query params cause entire page re-render on Next 14.2.3 HOT 1
- Suspense boundary broken (ignored) after second server action call HOT 8
- Nonce exposed to the DOM
- [Bug][Next.js13]: renderError does not follow the err info of __NEXT_DATA__ when hytrate in client
- Docs: Wrong link for UseFormState. HOT 3
- `no-store` cache in nextjs config doesn't disable disk caching.
- The `maxDuration` setting in the api route config, as per the documentation, isn't being honored on dev or on Vercel. We're on the pro plan. HOT 1
- TypeError: Cannot read properties of undefined (reading 'ReactCurrentOwner') when rendering model using react-three libraries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next.js.