Deploying to a node-server
I have created a small app with Tanstack Start, everything works well locally and now I want to deploy it to my ubuntu server running node. However, when I build it it builds a dist folder with a client and server folders inside it. But looking at the packages.json file, the start command looks like this:
I don't have any
I have searched the web and here for answers but found none so far.<
Grateful for help.
"start": "node .output/server/index.mjs",I don't have any
.outputdirectory? If I change it to run the /dist/server/server.js file nothing happens and the program exits immedietly.I have searched the web and here for answers but found none so far.<
Grateful for help.