T
TanStack3mo ago
environmental-rose

serverEntry.default is not a function

Hi everyone. I am trying to migrate my tanstack router app into tanstack start. I followed the documentation but I am still getting this error. Any ideas? TypeError: serverEntry.default is not a function at file:///....../myapp/nodemodules/.pnpm/@tanstack+start-plugin-core@1.131.32@tanstack+react-router@1.115.2_react-dom@19.1.0_react@19_ss3yohtdo4bcan2dydf4vyfp74/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:47:58
3 Replies
ratty-blush
ratty-blush3mo ago
environmental-rose
environmental-roseOP3mo ago
I did but it didnt seem to make a difference. Adding it again and running the app produces the same error.
dependent-tan
dependent-tan3mo ago
can you share a complete example?

Did you find this page helpful?