Nuxt3 SSR start command
katapult1
HOBBYOP

a year ago

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…"

20 Replies

katapult1
HOBBYOP

a year ago

6d8213cb-62b9-4e48-9cb2-4f4735eb0c9e


brody
EMPLOYEE

a year ago

how did you set that start command?


katapult1
HOBBYOP

a year ago

Like this

1251940586546663400


brody
EMPLOYEE

a year ago

do you see anything in your deploy logs?


katapult1
HOBBYOP

a year ago

No, it's empty - Waiting for deploy to finish…


brody
EMPLOYEE

a year ago

whats the status of the deployment?


katapult1
HOBBYOP

a year ago

BUILDING
Deployment is in progress


brody
EMPLOYEE

a year ago

build logs please -


katapult1
HOBBYOP

a year ago


katapult1
HOBBYOP

a year ago

Deploy - The API didn't return any log lines


brody
EMPLOYEE

a year ago

what is your build script


katapult1
HOBBYOP

a year ago

it's default nuxt build


brody
EMPLOYEE

a year ago

what do you have for buildModules and build in nuxt.config.ts?


katapult1
HOBBYOP

a year ago

buildModules: ["@nuxt/typescript-build"],
modules: ["@nuxtjs/strapi"],
build: {
transpile: ["gsap"],
extractCSS: true,
optimizeCSS: true,
terser: {
terserOptions: {
compress: {
drop_console: true,


brody
EMPLOYEE

a year ago

what node version do you use locally?


katapult1
HOBBYOP

a year ago

v18.18.2


katapult1
HOBBYOP

a year ago

sorry. Think problem in my code


brody
EMPLOYEE

a year ago

have you found out why the build command is not exiting after building?


katapult1
HOBBYOP

a year ago

Yes, I found a bug in one of my modules that prevented the build from completing. Now everything is fine. Thank you.


brody
EMPLOYEE

a year ago

awsome!


Loading...