Skip to content

Error: Failed to launch the browser process #201

@koslambrou

Description

@koslambrou

I use NixOS. As relaxed is not packaged in nixpkgs, I attempted to install it using npx with:

npx --package=relaxedjs

That part works. However, when I tried running relaxed document.pug, I got the following error:

Launching ReLaXed...
/home/xxx/.npm/_npx/fe93568e581428cd/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241
            reject(new Error([
                   ^

Error: Failed to launch the browser process! spawn /home/xxx/.npm/_npx/fe93568e581428cd/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/chrome ENOENT


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/home/xxx/.npm/_npx/fe93568e581428cd/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
    at ChildProcess.<anonymous> (/home/xxx/.npm/_npx/fe93568e581428cd/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:233:85)
    at ChildProcess.emit (node:events:517:28)
    at ChildProcess._handle.onexit (node:internal/child_process:290:12)
    at onErrorNT (node:internal/child_process:477:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v18.18.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions