TanStackT
TanStack4mo ago
15 replies
sacred-emerald

Building for netlify not working on RC

Hi,

With the upgrades for to RC I am getting this error when trying to run netlify deploy.

The Netlify Functions setting targets a non-existing directory: .netlify/functions-internal
Packaging Functions generated by your framework:
 - server.mjs


I have this netlify.toml which has been working OK.
[build]
  command = "npm run 


And these dependencies in package.json

"@netlify/blobs": "^10.0.11",
"@netlify/functions": "4.2.3",
"@netlify/neon": "^0.1.0",
"@tanstack/query-db-collection": "^0.2.22",
"@tanstack/react-db": "^0.1.23",
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-form": "^1.23.4",
"@tanstack/react-query": "^5.90.2",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-router": "^1.132.17",
"@tanstack/react-router-devtools": "^1.132.17",
"@tanstack/react-start": "^1.132.18",
"@netlify/vite-plugin-tanstack-start": "^1.0.1",
"@tanstack/devtools-vite": "^0.3.3",
"@tanstack/eslint-plugin-router": "^1.132.0",
"@tanstack/router-plugin": "^1.132.17",
"drizzle-orm": "^0.44.5",
"drizzle-kit": "^0.31.4",


Node.js v22.20.0 arm64 ( node -p process.arch process.platform)

Attached is the vite.config.json and the netlify.toml.

There is no .netlify/functions-internal directory being created when I run vite build so have I missed something with the configuration here? As I said, this was working with start 1.31.x

This application has a number of server functions and server only routes.

Any ideas or hints to fix this would be much appreciated. Many thanks in advance
Was this page helpful?