T
TanStack3mo ago
other-emerald

Errors after updating to 1.132 from 1.131

Hi, are there some issues with the latest releases? Was on 1.131 and just upgraded to the following
"@tanstack/react-router": "^1.132.2",
"@tanstack/react-start": "^1.132.2",
"@tanstack/react-router": "^1.132.2",
"@tanstack/react-start": "^1.132.2",
Seems the whole application is getting errors like this:
TypeError: (0 , __vite_ssr_import_1__.createServerFn)(...).validator is not a function
at eval (~/workspace/example/src/state/server-actions/blog-server-actions.server.ts:27:6)
at async ESModulesEvaluator.runInlinedModule (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:910:3)
at async ModuleRunner.directRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1119:59)
at async ModuleRunner.cachedRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1037:73)
at async eval (~/workspace/example/src/routes/blog/$slug.tsx:11:1)
at async ESModulesEvaluator.runInlinedModule (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:910:3)
at async ModuleRunner.directRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1119:59)
at async ModuleRunner.cachedRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1037:73)
at async eval (~/workspace/example/src/components/blog/blog-post.tsx:11:1)
at async ESModulesEvaluator.runInlinedModule (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:910:3)
TypeError: (0 , __vite_ssr_import_1__.createServerFn)(...).validator is not a function
at eval (~/workspace/example/src/state/server-actions/blog-server-actions.server.ts:27:6)
at async ESModulesEvaluator.runInlinedModule (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:910:3)
at async ModuleRunner.directRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1119:59)
at async ModuleRunner.cachedRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1037:73)
at async eval (~/workspace/example/src/routes/blog/$slug.tsx:11:1)
at async ESModulesEvaluator.runInlinedModule (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:910:3)
at async ModuleRunner.directRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1119:59)
at async ModuleRunner.cachedRequest (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:1037:73)
at async eval (~/workspace/example/src/components/blog/blog-post.tsx:11:1)
at async ESModulesEvaluator.runInlinedModule (file://~/workspace/example/node_modules/vite/dist/node/module-runner.js:910:3)
I've updated the server and client entry files according to this: https://github.com/TanStack/router/blob/main/docs/start/framework/react/server-entry-point.md https://github.com/TanStack/router/blob/main/docs/start/framework/react/client-entry-point.md Anything else which needs to be done? Many thanks JT
GitHub
router/docs/start/framework/react/server-entry-point.md at main · ...
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
GitHub
router/docs/start/framework/react/client-entry-point.md at main · ...
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
7 Replies
yappiest-sapphire
yappiest-sapphire3mo ago
GitHub
Start BETA - Tracking · TanStack router · Discussion #2863
Tracking any important changes for TanStack Start during the BETA period. If you are coming from the ALPHA of TanStack Start, you can see all the breaking changes that were made here - #2403
other-emerald
other-emeraldOP3mo ago
Thank you
quickest-silver
quickest-silver3mo ago
Perhaps this could be linked in the releases page on github too. I think a lot of people go there first
other-emerald
other-emeraldOP3mo ago
@Manuel Schiller import { getRequest, getEvent, } from '@tanstack/react-start/server'; getEvent() is no longer a function. Is there an alternative or has it been renamed? This is not listed in the doc above.
yappiest-sapphire
yappiest-sapphire3mo ago
there is no replacement for that what do you need it for?
other-emerald
other-emeraldOP3mo ago
@Manuel Schiller I'm trying to patch up the clerk stuff until they create a new release
yappiest-sapphire
yappiest-sapphire3mo ago
it won't work without clerk updating

Did you find this page helpful?