#codensandbox.io: Failed to launch the browser process!

1 messages · Page 1 of 1 (latest)

grand wing
#

I made a simple bot in vscode and works, but when i tried to make that on codesandbox.io, i get a error.

"Failed to launch the browser process!"

I tried some possible solutions without sucess, like
const client = new Client({ puppeteer: { args: ["--no-sandbox"] } });

I know that is puppeteer error, but i dont know how to solve.

grand wing
#

im stuck in this error yet...

heady prairie
#

You’re missing libraries

weak heart
#

You running puppeteer on codesandbox free plan ?
some packages takes up more cpu and memory and they will be restricted on such free plans. And their instance has resource limit. You cannot inatall huge libraries. Maybe thats the issue

grand wing
#

ok, i got it

#

Do you have any browser IDE that runs it? I want to show my bot to my friends, but the PCs we use don't have admin rights

weak heart
#

U can use some vps or containers.
On Aws new account, u can get 2gb ram and 2vcpu lightsnail instance free for 3 months. U can run on that easily.

Or any other hosting provider who gives root access to install necessory packages.

Vultur also has 200$ free credits.