Nuxt Builds timing out

I'm starting a new project using Pages using NuxtJS - which isn't new to me. However it is my first Typescript Nuxt project. I've setup the Github integration for deployments, but my builds keep timing out. Relevant logs:
...
20:51:29.190 $ nuxt prepare
20:51:30.793 [success] Types generated in .nuxt
20:51:30.810 Done in 25.00s.
20:51:30.842 NPM modules installed using Yarn
20:51:31.080 Installing Hugo 0.54.0
20:51:31.820 Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
20:51:31.822 Started restoring cached go cache
20:51:31.831 Finished restoring cached go cache
20:51:31.896 go version go1.14.4 linux/amd64
20:51:31.905 go version go1.14.4 linux/amd64
20:51:31.907 Installing missing commands
20:51:31.907 Verify run directory
20:51:31.908 Executing user command: nuxt build
20:51:32.131 [log] Nuxt 3.13.1 with Nitro 2.9.7
20:51:34.013 [info] Building client...
20:51:34.024 [info] vite v5.4.3 building for production...
20:51:34.048 [info] transforming...
...
20:51:29.190 $ nuxt prepare
20:51:30.793 [success] Types generated in .nuxt
20:51:30.810 Done in 25.00s.
20:51:30.842 NPM modules installed using Yarn
20:51:31.080 Installing Hugo 0.54.0
20:51:31.820 Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
20:51:31.822 Started restoring cached go cache
20:51:31.831 Finished restoring cached go cache
20:51:31.896 go version go1.14.4 linux/amd64
20:51:31.905 go version go1.14.4 linux/amd64
20:51:31.907 Installing missing commands
20:51:31.907 Verify run directory
20:51:31.908 Executing user command: nuxt build
20:51:32.131 [log] Nuxt 3.13.1 with Nitro 2.9.7
20:51:34.013 [info] Building client...
20:51:34.024 [info] vite v5.4.3 building for production...
20:51:34.048 [info] transforming...
And then it just hangs there for 20 minutes and times out. Locally builds take >20 seconds.
2 Replies
James
James4mo ago
Have you set a matching NODE_VERSION and/or any other tooling you might need?
TetraEtc
TetraEtcOP4mo ago
yes, I've looked at those variables and everything seems to be lining up. Have tried with the NODE_VERSION env var and with .nvmrc, neither really help. is there any extra information that would help debug @James ? @James for now I've just built locally and used wranger to deploy. Would still love to be able to get it deployed/built via CF directly though For anyone who reads this - As per this thread the issue is sass-embedded - Switch to sass https://discord.com/channels/595317990191398933/1283696049621303308
Want results from more Discord servers?
Add your server