Next.js Discord

Discord Forum

Whenever I make change in file hot reload breaks with this error. I'm using turbo mode.

Unanswered
Leafcutting bee posted this in #help-forum
Open in Discord
Avatar
Leafcutting beeOP
Any ideas how to troubleshoot it or fix?
Error: Module [project]/app/global-error.tsx [app-ssr] (ecmascript) was instantiated because it was required from module [project]/node_modules/next/dist/esm/build/templates/app-page.js?page=/(admin-app)/admin/[slug]/users/(tabs)/members/page { GLOBAL_ERROR_MODULE => "[project]/app/global-error.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_0 => "[project]/node_modules/next/dist/client/components/not-found-error.js [app-rsc] (ecmascript, Next.js server component)", MODULE_1 => "[project]/app/global-error.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_2 => "[project]/app/(admin-app)/layout.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_3 => "[project]/app/(admin-app)/loading.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_4 => "[project]/app/(admin-app)/not-found.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_5 => "[project]/app/(admin-app)/admin/[slug]/layout.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_6 => "[project]/app/(admin-app)/admin/[slug]/users/layout.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_7 => "[project]/app/(admin-app)/admin/[slug]/users/(tabs)/layout.tsx [app-rsc] (ecmascript, Next.js server component)", MODULE_8 => "[project]/app/(admin-app)/admin/[slug]/users/(tabs)/members/page.tsx [app-rsc] (ecmascript, Next.js server component)" } [app-rsc] (ecmascript) <locals>, but the module factory is not available. It might have been deleted in an HMR update.

0 Replies