Jump to content

[Solved] nextjs or nuxtjs deployment on tommy?


itismedavid

Recommended Posts

hi,

i've been trying to deploy nextjs and nuxtjs, but have failed to do so each time (totla 3 tryes, 1 nuxt, 2 nextjs)

nextjs needs to run command "npm run start", and nuxt builds a seperate node project which is just "node .output/server/index.mjs"

for next i tried to make a start.js file which has "exec("npm run start")", currently i have a nextjs project in my tommy https://davidon.top (note i route my traffic through cloudflare)

with next i tryed to run it with the run command button and got an error saing port 3000 is allredy beeing used so i switched to a different port (this is most likely my issue but i dont know what port i need to be using, currently its 3069)

 

i dont know where to go from here or waht i should try so im hoping you could guide me. (i would also be glad to contribute to the wiki on how other people can deplay theyr nuxt or next projects, i just need to find a right way to deploy it)

Link to comment
Share on other sites

Since you're here, I'd like to also mention that your account has used over 402 GB of memory in the last 24 hours which is more than twice as much as the second highest account. Load and memory usage don't matter too much right now because there aren't that many accounts on the server, but eventually we'll have to start suspending people if the server's uptime and speed start to dip.

Link to comment
Share on other sites

somethink must be wrong with nextjs, im sorry that im not able to resolve this atm since im in school,it is maybe possible that its running in the background but isnt able to be served, if this becoms an issue before i can try and resolve it go ahead and kill all node or npm (or all)  processes that may use a lot of memory

Link to comment
Share on other sites

Yeah, your account has used 470 GB of memory in the last 24 hours. Please don't start processes if you have no idea how to stop them. There were two node processes that had been running since 2022-11-01. I stopped them.

Link to comment
Share on other sites

  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...