AppPlatform apt-get support for node-js environment

I am trying to deploy our product to the new app platform, but our node-js app requires some native dependencies (graphics magic, cario, etc…).

The issue is that the node-js environment slug does not allow running apt-get install, or sudo apt-get install. I’m not sure if it’s related to the fact that you are not including the heroku apt buildpack,

apt-get install receives: Reading package lists… E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied

sudo apt-get install receives: sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the ‘nosuid’ option set or an NFS file system without root privileges?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

👋 @rolltable

I don’t have a public release date on it yet, but the team is working on this.

For now, you can deploy via dockerfile where apt install will work.

Are there any news about this request? I’m getting the same error when I try to install linux packages using apt-get install … Thanks