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, https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-apt
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?
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.×