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:Jump to solution
have you found out why the build command is not exiting after building? thats the issue here.
20 Replies
Project ID:
6d8213cb-62b9-4e48-9cb2-4f4735eb0c9e
6d8213cb-62b9-4e48-9cb2-4f4735eb0c9e
how did you set that start command?
Like this
do you see anything in your deploy logs?
No, it's empty - Waiting for deploy to finish...
whats the status of the deployment?
BUILDING
Deployment is in progress
build logs please - https://bookmarklets.up.railway.app/log-downloader/
Deploy - The API didn't return any log lines
what is your build script
it's default nuxt build
what do you have for
buildModules
and build
in nuxt.config.ts?buildModules: ["@nuxt/typescript-build"],
modules: ["@nuxtjs/strapi"],
build: {
transpile: ["gsap"],
extractCSS: true,
optimizeCSS: true,
terser: {
terserOptions: {
compress: {
drop_console: true,
what node version do you use locally?
v18.18.2
sorry. Think problem in my code
Solution
have you found out why the build command is not exiting after building? thats the issue here.
Yes, I found a bug in one of my modules that prevented the build from completing. Now everything is fine. Thank you.
awsome!