Next.js Discord

Discord Forum

getting an issue locally

Unanswered
Californian posted this in #help-forum
Open in Discord
CalifornianOP
i just upgraded our nextjs repo to 16.1.4 (from 14)

and in development i keep getting this

Next.js 16.1.4
Turbopack
Recoverable Error

Module [project]/src/app/data:34469e [app-client] (ecmascript) <text/javascript> was instantiated because it was required from module [project]/src/components/search-engine/home-content.tsx [app-client] (ecmascript), but the module factory is not available. It might have been deleted in an HMR update.
Call Stack
24


anyone know how to fix?

3 Replies

CalifornianOP
here is the home-content.tsx file (a bit long)
This issue was mentioned many times before in github and even forum posts(https://nextjs-forum.com/post/1463163462493536427). A temporary fix would to disable the cache in your browser's devtool and leave it open when you develop
Or you could use webpack by adding --webpack to your package.json scripts. That should fix it.