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•3mo ago
do you have a server entry file? /src/server.ts https://tanstack.com/start/latest/docs/framework/react/learn-the-basics#the-server-entry-point-optional
environmental-roseOP•3mo ago
I did but it didnt seem to make a difference. Adding it again and running the app produces the same error.
dependent-tan•3mo ago
can you share a complete example?