Is there a build time limit?

i got this after 3 mins (builds locally)
20:11:54.983  ELIFECYCLE  Command failed with exit code 139.
20:11:55.006 Failed: Error while executing user command. Exited with error code: 139
20:11:55.016 Failed: build command exited with code: 1
20:11:56.157 Failed: error occurred while running build command
20:11:54.983  ELIFECYCLE  Command failed with exit code 139.
20:11:55.006 Failed: Error while executing user command. Exited with error code: 139
20:11:55.016 Failed: build command exited with code: 1
20:11:56.157 Failed: error occurred while running build command
5 Replies
veeque
veequeOP3w ago
i would've thought it was because of name: execSync('git rev-parse HEAD').toString().trim() in the svelte config but it worked before, so it can't be that i'm using svelte's image optimization plugin, but i don't know if that could be causing it. it worked just fine before, i just added more pics (and reduced every pic's size
Walshy
Walshy3w ago
it'd say you hit the build limit, in this case, some command exited with a non-0 what's above that?
veeque
veequeOP3w ago
pnpm build > vite build but yea, prolly the build limit because reducing build time did fix it
Walshy
Walshy3w ago
not the build limit..
20:11:56.157 Failed: error occurred while running build command
it literally says it was the build command but there's no logs to look at here
veeque
veequeOP2w ago
well, there’s no logs before, just sveltekit alerting that img tags don’t have an alt attribute probably my worker was too big. it built locally but was over 10mb, moving most images to assets (and manually optimizing) helped

Did you find this page helpful?