Is there a build time limit?
i got this after 3 mins (builds locally)
5 Replies
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 sizeit'd say you hit the build limit, in this case, some command exited with a non-0
what's above that?
pnpm build > vite build
but yea, prolly the build limit
because reducing build time did fix it
not the build limit..
20:11:56.157 Failed: error occurred while running build commandit literally says it was the build command but there's no logs to look at here
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