You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
You can set PUPPETEER_EXECUTABLE_PATH to chromium to make it work.
I didn’t run it recently but this package worked some time ago: Flakebi/nixpkgs@8449629
Nice :)
I have on plans to add it myself (not using it much anymore and want to try out typst next). But feel free to take my commit and add it yourself if you want.
I use NixOS. As
relaxed
is not packaged innixpkgs
, I attempted to install it usingnpx
with:That part works. However, when I tried running
relaxed document.pug
, I got the following error:The text was updated successfully, but these errors were encountered: