Nuxt3 SSR start command

Hi! I'm deploying Nuxt project and see in build log #12 25.15 [success] [nitro] You can preview this build using node .output/server/index.mjs I set start command node .output/server/index.mjs but nothing is happens "Waiting for deploy to finish..."
Solution:
have you found out why the build command is not exiting after building? thats the issue here.
Jump to solution
20 Replies
Percy
Percy6mo ago
Project ID: 6d8213cb-62b9-4e48-9cb2-4f4735eb0c9e
Katapult
KatapultOP6mo ago
6d8213cb-62b9-4e48-9cb2-4f4735eb0c9e
Brody
Brody6mo ago
how did you set that start command?
Katapult
KatapultOP6mo ago
Like this
No description
Brody
Brody6mo ago
do you see anything in your deploy logs?
Katapult
KatapultOP6mo ago
No, it's empty - Waiting for deploy to finish...
Brody
Brody6mo ago
whats the status of the deployment?
Katapult
KatapultOP6mo ago
BUILDING Deployment is in progress
Katapult
KatapultOP6mo ago
Deploy - The API didn't return any log lines
Brody
Brody6mo ago
what is your build script
Katapult
KatapultOP6mo ago
it's default nuxt build
Brody
Brody6mo ago
what do you have for buildModules and build in nuxt.config.ts?
Katapult
KatapultOP6mo ago
buildModules: ["@nuxt/typescript-build"], modules: ["@nuxtjs/strapi"], build: { transpile: ["gsap"], extractCSS: true, optimizeCSS: true, terser: { terserOptions: { compress: { drop_console: true,
Brody
Brody6mo ago
what node version do you use locally?
Katapult
KatapultOP6mo ago
v18.18.2 sorry. Think problem in my code
Solution
Brody
Brody6mo ago
have you found out why the build command is not exiting after building? thats the issue here.
Katapult
KatapultOP6mo ago
Yes, I found a bug in one of my modules that prevented the build from completing. Now everything is fine. Thank you.
Brody
Brody6mo ago
awsome!
Want results from more Discord servers?
Add your server