Question

Updating nodejs buildpack version

Due to an underlying issue in corepack (https://github.com/nodejs/corepack/issues/612), builds using pnpm on most versions of the nodejs heroku buildpack are failing. They’ve put up a fix for this issue here https://github.com/heroku/heroku-buildpack-nodejs/pull/1371, which seems to be released on v280 of the buildpack.

On App Platform, the build phase notes that we’re using v0.260.4 of the nodejs buildpack, though it’s marked as “latest” on the DO dashboard. How can we upgrade the buildpack to a later version? All our builds are now failing on app plaform due to this issue.


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.

Bobby Iliev
Site Moderator
Site Moderator badge
February 9, 2025

Hey 👋,

UPDATE: The team has confirmed that the patch to fix the issue is being rolled out and should be available to everyone soon. Thank you for reporting the issue!

I believe that right now, DigitalOcean App Platform doesn’t provide a way to manually update the Node.js buildpack version. The “latest” tag in the dashboard refers to the version currently supported by DigitalOcean, not necessarily the most recent upstream release.

Since your builds are failing due to the corepack issue with pnpm, one option is to use a Dockerfile instead of relying on the buildpack. This would give you full control over the Node.js version and dependencies, allowing you to install pnpm manually:

https://docs.digitalocean.com/products/app-platform/reference/dockerfile/

Another approach is to define the Node.js version explicitly in your package.json using the engines field, though this won’t necessarily update the buildpack itself though.

If you need an immediate fix, the Dockerfile method is probably your best bet.

It might also be worth reaching out to DigitalOcean support at https://do.co/support to check if there’s a way to request a buildpack update, especially since this is actively breaking builds.

Let me know how it goes!

- Bobby

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.