- I am trying to deploy my project build with tanstack-start on site.
- issue i am facing is appwrite doesnt provide start command option so i can run 'npm run start' after build finishes
- according to tanstack doc (https://tanstack.com/start/v0/docs/framework/react/guide/hosting#nodejs--railway--docker) we need to run "node .output/server/index.mjs" to start our website.
In case of vercel:
- i am using nitro plugin to build my project
- and this plugin provides preset option to choose for which type outp you want
- preset have option for 'vercel' but not appwrite
have tried selecting tanst-start in framework option but getting this:
@Meldiron Would you have any insight on this issue with Tanstack in sites?
I was able to get mine working but I don't use the Nitro V2 plugin and I'm not familiar with it
In case if you dont know, tanstack-start and tansrouter both are little different thing
for reference : https://chatgpt.com/share/68fe3096-31a4-8006-81d3-d5623e8262b2
since appwrite already supports nextjs so supporting tanstack-start also wont be a big deal
Recommended threads
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- JavaScript heap out of memory during bui...
I am running into heap out of memory when I am trying to build an Appwrite site. Usually this can be fixed by modifying the `max-old-space-size` configuration, ...