Question

How to access the superuser on the App Platform

I am building a Nuxt 3 app and am deploying it on the Digital Ocean App platform, however, it depends on playwright, so I went into the Console tab and installed its dependencies manually using npx playwright install-deps. This requires being a superuser though and I am prompted with a password. What kind of password is that?


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
November 9, 2023

Hi there,

On the DigitalOcean App Platform, the deployment processes are managed by the platform itself, and users don’t have direct superuser access for security and abstraction purposes.

For dependencies like Playwright, you should not need to manually install them. Instead, specify them in your package.json file, and the App Platform should handle the installation for you during the build process.

Also after making any changes to your package.json file, make sure to run npm update and also commit your package lock file as well.

If the default build process does not install all necessary dependencies for Playwright, you may need to use a custom build command or script that properly handles these dependencies within the permissions allowed by the App Platform.

Let me know how it goes!

Best,

Bobby

Same

Try DigitalOcean for free

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

Sign up

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
DigitalOcean Cloud Control Panel