-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug?]: Cloudflare-pages deploy does not work #1833
Comments
I am having the same issue. |
we need more context to reproduce this. can you make a github repo? |
Same issue. https://github.com/Eliot00/benkyou-webapp |
19:53:50.840 | vinxi building router ssr in http mode -- | -- 19:53:51.113 | [error] defaultServerConditions is not iterable 19:53:51.113 | at configEnvironment (node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vite-plugin-solid/dist/esm/index.mjs:133:43) 19:53:51.113 | at async runConfigEnvironmentHook (node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:54653:19) 19:53:51.113 | at async resolveConfig (node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:54038:3) 19:53:51.114 | at async createBuilder (node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:51930:18) 19:53:51.114 | at async Module.build (node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:51219:19) 19:53:51.114 | at async createViteBuild (node_modules/.pnpm/[email protected][email protected]/node_modules/vinxi/lib/build.js:395:17) 19:53:51.114 | at async createRouterBuild (node_modules/.pnpm/[email protected][email protected]/node_modules/vinxi/lib/build.js:529:2) 19:53:51.114 | at async node_modules/.pnpm/[email protected][email protected]/node_modules/vinxi/lib/build.js:59:5 19:53:51.115 | at async createBuild (node_modules/.pnpm/[email protected][email protected]/node_modules/vinxi/lib/build.js:58:4) 19:53:51.115 | at async Object.run (node_modules/.pnpm/[email protected][email protected]/node_modules/vinxi/bin/cli.mjs:235:5) 19:53:51.115 | at async runCommand (node_modules/.pnpm/[email protected]/node_modules/citty/dist/index.mjs:316:16) 19:53:51.115 | at async runCommand (node_modules/.pnpm/[email protected]/node_modules/citty/dist/index.mjs:307:11) 19:53:51.115 | at async runMain (node_modules/.pnpm/[email protected]/node_modules/citty/dist/index.mjs:445:7) 19:53:51.115 | 19:53:51.115 | [error] defaultServerConditions is not iterable 19:53:51.123 | [error] Exited with code: 1 19:53:51.124 | at CommandChild.pipedStdoutBuffer (node_modules/.pnpm/[email protected]/node_modules/dax-sh/esm/mod.js:9392:19) 19:53:51.124 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) |
the build succeeded and i got "500 internal server error" in both dev and prod because i don't have supabase credentials, so it works fine, there's no 404 |
I got build error in cloudflare, not runtime 404 error. |
In the end, I successfully deployed it by manually building and uploading it locally, but the Cloudflare Github Action deployment encountered an error. |
FWIW my nontrivial |
Duplicates
Latest version
Current behavior 😯
After building solidstart app I can use it with Cloudflare dev mode but after deployment any requests returns 404. I am able to get static files tho.
Expected behavior 🤔
Deployment should work just as dev mode.
Steps to reproduce 🕹
Steps:
preset: 'cloudflare-pages'
Context 🔦
I want to deploy solidstart app to cloudflare pages.
Your environment 🌎
The text was updated successfully, but these errors were encountered: