Question

Deployment terminated suddenly when downloading and extracting Node v20.12.2

I was deploying my front end when all of a sudden, during the download and extraction of Node v20.12.2, the process suddenly terminated. There were no error messages or exceptions shown so I have no idea what went wrong. Could someone please help me with this? I would really appreciate it. Thank you. The following is the logs from the build logs.

[2024-04-15 12:36:26] │ => Checking out commit "5178ffe58886ee5f17a52753cc7fdd6c14247867"
[2024-04-15 12:36:26] │ 
[2024-04-15 12:36:26] │  ✔ cloned repo to /workspace
[2024-04-15 12:36:26] ╰────────────────────────────────────────╼
[2024-04-15 12:36:26] 
[2024-04-15 12:36:26]  › applying source directory foodProjectSpringBoot/src/main/webapp/app
[2024-04-15 12:36:27]  ✔ using workspace root /workspace/foodProjectSpringBoot/src/main/webapp/app
[2024-04-15 12:36:27] 
[2024-04-15 12:36:27]  › configuring custom build command to be run at the end of the build:
[2024-04-15 12:36:27]    │ npm run build
[2024-04-15 12:36:27] 
[2024-04-15 12:36:27] ╭──────────── buildpack detection ───────────╼
[2024-04-15 12:36:27] │  › using Ubuntu 22.04 stack
[2024-04-15 12:36:28] │ Detected the following buildpacks suitable to build your app:
[2024-04-15 12:36:28] │ 
[2024-04-15 12:36:28] │    heroku/nodejs-engine   v1.5.3  
[2024-04-15 12:36:28] │    digitalocean/node      v0.3.6  (Node.js)
[2024-04-15 12:36:28] │    digitalocean/procfile  v0.0.4  (Procfile)
[2024-04-15 12:36:28] │    digitalocean/custom    v0.1.2  (Custom Build Command)
[2024-04-15 12:36:28] │ 
[2024-04-15 12:36:28] │ For documentation on the buildpacks used to build your app, please see:
[2024-04-15 12:36:28] │ 
[2024-04-15 12:36:28] │    Node.js  v0.3.6  https://do.co/apps-buildpack-node
[2024-04-15 12:36:28] ╰─────────────────────────────────────────────╼
[2024-04-15 12:36:28] 
[2024-04-15 12:36:28] ╭──────────── app build ───────────╼
[2024-04-15 12:36:28] │ ---> Node.js Buildpack
[2024-04-15 12:36:28] │ ---> Installing toolbox
[2024-04-15 12:36:28] │ ---> - jq
[2024-04-15 12:36:30] │ ---> - yj
[2024-04-15 12:36:33] │ ---> Getting Node version
[2024-04-15 12:36:33] │ ---> Resolving Node version
[2024-04-15 12:36:35] │ ---> Downloading and extracting Node v20.12.2
[2024-04-15 13:36:04] Terminated

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I also encountered the same situation. It seems that if the download of Node.js takes more than 1 minute, it’s not normal. Currently, I can only keep canceling the build and deploying until the download of Node.js proceeds normally.

[vue-web] [2024-05-29 10:06:36] ╭──────────── git repo clone ───────────╼
[vue-web] [2024-05-29 10:06:36] │  › fetching app source code
[vue-web] [2024-05-29 10:06:36] │ => Selecting branch "master"
[vue-web] [2024-05-29 10:06:44] │ => Checking out commit "XXXXXXX"
[vue-web] [2024-05-29 10:06:44] │
[vue-web] [2024-05-29 10:06:44] │  ✔ cloned repo to /workspace
[vue-web] [2024-05-29 10:06:44] ╰────────────────────────────────────────╼
[vue-web] [2024-05-29 10:06:44]
[vue-web] [2024-05-29 10:06:44]  › configuring build-time app environment variables:
[vue-web] [2024-05-29 10:06:44]      VITE_GMAP_API_KEY VITE_FRONT_URL VITE_API_KEY VITE_API_URL
[vue-web] [2024-05-29 10:06:44]
[vue-web] [2024-05-29 10:06:44]  › configuring custom build command to be run at the end of the build:
[vue-web] [2024-05-29 10:06:44]    │ rm -rf .env
[vue-web] [2024-05-29 10:06:44]    │
[vue-web] [2024-05-29 10:06:44]    │ yarn build
[vue-web] [2024-05-29 10:06:44]
[vue-web] [2024-05-29 10:06:45] ╭──────────── buildpack detection ───────────╼
[vue-web] [2024-05-29 10:06:45] │  › using Ubuntu 22.04 stack
[vue-web] [2024-05-29 10:06:46] │ Detected the following buildpacks suitable to build your app:
[vue-web] [2024-05-29 10:06:46] │
[vue-web] [2024-05-29 10:06:46] │    heroku/nodejs-engine v1.5.4
[vue-web] [2024-05-29 10:06:46] │    digitalocean/node v0.4.0 (Node.js)
[vue-web] [2024-05-29 10:06:46] │    digitalocean/procfile v0.0.4 (Procfile)
[vue-web] [2024-05-29 10:06:46] │    digitalocean/custom v0.1.2 (Custom Build Command)
[vue-web] [2024-05-29 10:06:46] │
[vue-web] [2024-05-29 10:06:46] │ For documentation on the buildpacks used to build your app, please see:
[vue-web] [2024-05-29 10:06:46] │
[vue-web] [2024-05-29 10:06:46] │    Node.js v0.4.0 https://do.co/apps-buildpack-node
[vue-web] [2024-05-29 10:06:46] ╰─────────────────────────────────────────────╼
[vue-web] [2024-05-29 10:06:46]
[vue-web] [2024-05-29 10:06:46] ╭──────────── build caching ───────────╼
[vue-web] [2024-05-29 10:06:46] │  › checking for cache from a previous build
[vue-web] [2024-05-29 10:06:46] │ Layer cache not found
[vue-web] [2024-05-29 10:06:46] │ Layer cache not found
[vue-web] [2024-05-29 10:06:46] ╰───────────────────────────────────────╼
[vue-web] [2024-05-29 10:06:46]
[vue-web] [2024-05-29 10:06:46] ╭──────────── app build ───────────╼
[vue-web] [2024-05-29 10:06:46] │ [INFO] Node.js Buildpack
[vue-web] [2024-05-29 10:06:46] │ [INFO] Setting NODE_ENV to production
[vue-web] [2024-05-29 10:06:46] │ [INFO] Installing toolbox
[vue-web] [2024-05-29 10:06:46] │ [INFO] - yj
[vue-web] [2024-05-29 10:06:48] │
[vue-web] [2024-05-29 10:06:48] │ [Installing Node]
[vue-web] [2024-05-29 10:06:48] │ [INFO] Getting Node version
[vue-web] [2024-05-29 10:06:48] │ [INFO] Resolving Node version
[vue-web] [2024-05-29 10:06:57] │ [INFO] Downloading and extracting Node v20.14.0
Bobby Iliev
Site Moderator
Site Moderator badge
April 23, 2024

Hey!

There was some network maintenance last week that might have caused that issue, are you still seeing the problem?

https://status.digitalocean.com/history

If this is still happening, it is possible that your build process requires more memory, have you tried using a larger container size with more RAM as a test?

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more