consistent x was instantiated because it was required from module y but the module factory is not available. It might have been deleted in an HMR update.
#84264
Replies: 5 comments 14 replies
-
|
I have the same issue! The only way I have to develop is to hard refresh, but a normal refresh or HMR refresh gives me that issue. Here are all the related issues:
|
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
Seems like there is no error just because probably of "cache" just enable "disable cache" feature on your browser. It would be fine I guess. |
Beta Was this translation helpful? Give feedback.
-
|
@atalayio in my case I need to debug mobile web and pwa states so this "Disable cache" doesn't work in that context. Also, why would we want to disable cache? That's part of the work. To create a good cache strategy to load faster. If I disabled it then I can't test that. |
Beta Was this translation helpful? Give feedback.
-
|
The issue with mobile is that it caches even in incognito. Everytime the
bad cache happens I need to close the incognito tab, create a new one, and
re-auth. It’s horrible. Every time that happens I want to eject from next.js
…On Sun, Dec 14, 2025 at 10:51 AM Atalay ***@***.***> wrote:
In production yeah you right bu no development is so complex caches
storage there so you should be disable cache on your project when you're
actuualy developing or dev mode. In mobile you can try another different
browser or incognito mode in your browser.
—
Reply to this email directly, view it on GitHub
<#84264 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC7G6TGNDQGD4RFDORL3MT4BWIR7AVCNFSM6AAAAACHSETDXWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRVGIZTOOA>
.
You are receiving this because you were mentioned.Message ID: <vercel/next
.***@***.***>
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
We have a somewhat large (and admittedly not very well organised) turbo repo where our main app is a Next 15.3.5 app router one with Turbopack. We're using pnpm, have no wrapper like sentry around our next config (and have tried disabling instrumentation too). On local dev we consistently run into errors like
Error: Module [project]/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/react-i18next/dist/es/index.js [app-client] (ecmascript) <module evaluation> was instantiated because it was required from module [project]/apps/backend/dist/features/client/browser.jsx [app-client] (ecmascript), but the module factory is not available. It might have been deleted in an HMR update.I'd say 85% of the time these point to files in our own monorepo. Refreshing the page with
disable cacheon in the network tab always fixes it for that load of the page. We've tried the obvious clearing browser cache etc but this does not help. Running the app in an incognito window initially goes fine, but then starts having the same issues.Apart from this HMR in general is pretty broken in our app with modules very often not updating.
Does anyone have any idea what we could try to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions