Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Running as root without --no-sandbox is not supported." error. #138

Open
ShreyasAch opened this issue Jun 30, 2023 · 0 comments
Open

Comments

@ShreyasAch
Copy link

Details

i have integrated the unlighouse framework into my nuxt3 project and its working like a charm in my local machine. when i run the same code in dev server (with chrome) i am getting (Running as root without --no-sandbox is not supported. See https://crbug.com/638180.) error. I have added the below config in unlighthouse.config.ts file:

puppeteerOptions: {
headless: true,
args: ["--no-sandbox", "--disable-setuid-sandbox"],
},
yet i am getting the same error. My dev server has only root access and cannot add user to change the user of chrome. So is there any other configuration to mention "--no-sandbox" argument when i run the chrome in dev server for unlighthouse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant