pnpm run preview deletes images and runs into type error #1430

Closed
opened 2025-09-04 10:05:34 +02:00 by patdyn · 9 comments
Member

I'm working with a freshly cloned repo, using Node version 24.4.1 and I
followed the "Getting set up" section in the readme. OS is Kubuntu 24.04 with kernel version 6.8.0-79-generic.

First run of pnpm run preview somehow deletes two svg images from the repository:

$: git status
On branch next
Your branch is up to date with 'origin/next'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        deleted:    docs/_mermaid/_images/developer/threat-analysis/threat-analysis-remote-login-propagation-1.svg
        deleted:    docs/_mermaid/_images/developer/threat-analysis/threat-analysis-remote-login-propagation-2.svg

no changes added to commit (use "git add" and/or "git commit -a")

Restoring the images while the preview server runs solves this and the next error pops up:

TypeError: Cannot read properties of undefined (reading 'tabler')
    at /home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro-icon/components/Icon.astro:77:20
    at AstroComponentInstance.Icon [as factory] (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/astro-component.js:16:12)
    at AstroComponentInstance.init (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/instance.js:34:29)
    at AstroComponentInstance.render (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/instance.js:44:30)
    at Object.render (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/component.js:355:23)
    at renderChild (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/any.js:33:18)
    at /home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/render-template.js:30:29
    at new BufferedRenderer (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/util.js:129:26)
    at createBufferedRenderer (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/util.js:153:10)
    at /home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/render-template.js:28:36

Edit: I completely removed node and anything related and then reinstalled and retried with node 20 but the errors persist.

Edit: This is the output of a CORE_PACK_ENABLE_STRICT=0 pnpm run preview:

> docs@0.0.0 preview /home/someUser/repo/extern/forgejo/docs
> ./scripts/preview.sh

MD FILE: /home/someUser/repo/extern/forgejo/docs/docs/_mermaid/developer/threat-analysis/threat-analysis-remote-login-propagation.md

Error: Failed to launch the browser process!
[0905/131017.627849:FATAL:zygote_host_impl_linux.cc(127)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0x6361e93eef72 base::debug::CollectStackTrace()
#1 0x6361e93db4b3 base::debug::StackTrace::StackTrace()
#2 0x6361e932dfbf logging::LogMessage::~LogMessage()
#3 0x6361e7b4ac16 content::ZygoteHostImpl::Init()
#4 0x6361e8884b23 content::ContentMainRunnerImpl::Initialize()
#5 0x6361e8882427 content::RunContentProcess()
#6 0x6361e8882606 content::ContentMain()
#7 0x6361e8e6c1fa headless::HeadlessShellMain()
#8 0x6361e4fa3255 ChromeMain
#9 0x75c736e2a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
#10 0x75c736e2a28b __libc_start_main
#11 0x6361e4fa302a _start



TROUBLESHOOTING: https://pptr.dev/troubleshooting

    at Interface.onClose (file:///home/someUser/repo/extern/forgejo/docs/node_modules/.pnpm/@puppeteer+browsers@0.5.0/node_modules/@puppeteer/browsers/lib/esm/launch.js:253:24)
    at Interface.emit (node:events:536:35)
    at Interface.close (node:internal/readline/interface:530:10)
    at Socket.onend (node:internal/readline/interface:256:10)
    at Socket.emit (node:events:536:35)
    at endReadableNT (node:internal/streams/readable:1698:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Cloning into '.preview'...
remote: Enumerating objects: 11258, done.
remote: Counting objects: 100% (2737/2737), done.
remote: Compressing objects: 100% (602/602), done.
remote: Total 11258 (delta 2385), reused 2418 (delta 2128), pack-reused 8521 (from 1)
Receiving objects: 100% (11258/11258), 12.64 MiB | 2.77 MiB/s, done.
Resolving deltas: 100% (7143/7143), done.
 WARN  This project is configured to use v9.6.0 of pnpm. Your current pnpm is v9.1.2
Lockfile is up to date, resolution step is skipped
Packages: +797
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Downloading @img/sharp-libvips-linuxmusl-x64@1.0.4: 7.20 MB/7.20 MB, done
Downloading @img/sharp-libvips-linux-x64@1.0.4: 7.06 MB/7.06 MB, done
Downloading @img/sharp-libvips-linuxmusl-x64@1.2.0: 7.54 MB/7.54 MB, done
Progress: resolved 797, reused 70, downloaded 727, added 797, done
node_modules/.pnpm/@tailwindcss+oxide@4.1.11/node_modules/@tailwindcss/oxide: Running postinstall script, done in 155ms
node_modules/.pnpm/sharp@0.33.5/node_modules/sharp: Running install script, done in 117ms
node_modules/.pnpm/sharp@0.34.3/node_modules/sharp: Running install script, done in 171ms
node_modules/.pnpm/esbuild@0.25.8/node_modules/esbuild: Running postinstall script, done in 121ms
Downloading @img/sharp-libvips-linux-x64@1.2.0: 7.42 MB/7.42 MB, done

devDependencies:
+ @astrojs/check 0.9.4
+ @astrojs/mdx 4.3.1
+ @astrojs/rss 4.0.12
+ @astrojs/sitemap 3.4.1
+ @astrolib/seo 1.0.0-beta.8
+ @iconify-json/ic 1.2.2
+ @iconify-json/mdi 1.2.3
+ @iconify-json/octicon 1.2.8
+ @iconify-json/simple-icons 1.2.44
+ @iconify-json/tabler 1.2.20
+ @tailwindcss/typography 0.5.16
+ @tailwindcss/vite 4.1.11
+ @types/hast 3.0.4
+ @types/sanitize-html 2.16.0
+ @types/semver 7.7.0
+ @types/slug 5.0.9
+ astro 5.12.2
+ astro-icon 1.1.5
+ eslint 9.31.0
+ eslint-config-prettier 10.1.8
+ eslint-plugin-astro 1.3.1
+ eslint-plugin-jsx-a11y 6.10.2
+ gitea-js 1.23.0
+ husky 9.1.7
+ lint-staged 16.1.2
+ marked 16.1.1
+ prettier 3.6.2
+ prettier-plugin-astro 0.14.1
+ rehype-autolink-headings 7.1.0
+ rehype-slug 6.0.0
+ remark-emoji 5.0.1
+ sanitize-html 2.17.0
+ semver 7.7.2
+ sharp 0.34.3
+ slug 11.0.0
+ tailwindcss 4.1.11
+ typescript 5.8.3
+ typescript-eslint 8.38.0

> @forgejo/website@0.0.1 prepare /home/someUser/repo/extern/forgejo/docs/.preview
> husky


Done in 16.9s
 WARN  This project is configured to use v9.6.0 of pnpm. Your current pnpm is v9.1.2

> @forgejo/website@0.0.1 dev /home/someUser/repo/extern/forgejo/docs/.preview
> astro dev

13:10:42 [types] Generated 1ms

 update  ▶ New version of Astro available: 5.13.5
  Run pnpm dlx @astrojs/upgrade to update

13:10:42 [content] Syncing content
[Shiki] The language "gotmpl" doesn't exist, falling back to "plaintext".
[Shiki] The language "gotmpl" doesn't exist, falling back to "plaintext".
[Shiki] The language "gotmpl" doesn't exist, falling back to "plaintext".
13:10:47 [content] Synced content

 astro  v5.12.2 ready in 6970 ms

┃ Local    http://localhost:4321/
┃ Network  use --host to expose

13:10:48 watching for file changes...
13:10:59 [ERROR] [ImageNotFound] Could not find requested image `../../_mermaid/_images/developer/threat-analysis/threat-analysis-remote-login-propagation-1.svg`. Does it exist?
  Hint:
    This is often caused by a typo in the image path. Please make sure the file exists, and is spelled correctly.
  Error reference:
    https://docs.astro.build/en/reference/errors/image-not-found/
  Stack trace:
    at astro:asset-imports:125:42
    [...] See full stack trace in the browser, or rerun with --verbose.

I'm working with a freshly cloned repo, using Node version 24.4.1 and I followed the "Getting set up" section in the readme. OS is Kubuntu 24.04 with kernel version 6.8.0-79-generic. First run of `pnpm run preview` somehow deletes two svg images from the repository: ```bash $: git status On branch next Your branch is up to date with 'origin/next'. Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) deleted: docs/_mermaid/_images/developer/threat-analysis/threat-analysis-remote-login-propagation-1.svg deleted: docs/_mermaid/_images/developer/threat-analysis/threat-analysis-remote-login-propagation-2.svg no changes added to commit (use "git add" and/or "git commit -a") ``` Restoring the images while the preview server runs solves this and the next error pops up: ```bash TypeError: Cannot read properties of undefined (reading 'tabler') at /home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro-icon/components/Icon.astro:77:20 at AstroComponentInstance.Icon [as factory] (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/astro-component.js:16:12) at AstroComponentInstance.init (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/instance.js:34:29) at AstroComponentInstance.render (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/instance.js:44:30) at Object.render (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/component.js:355:23) at renderChild (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/any.js:33:18) at /home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/render-template.js:30:29 at new BufferedRenderer (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/util.js:129:26) at createBufferedRenderer (/home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/util.js:153:10) at /home/someUser/repo/extern/forgejo-docs/.preview/node_modules/astro/dist/runtime/server/render/astro/render-template.js:28:36 ``` Edit: I completely removed node and anything related and then reinstalled and retried with node 20 but the errors persist. Edit: This is the output of a CORE_PACK_ENABLE_STRICT=0 pnpm run preview: ```bash > docs@0.0.0 preview /home/someUser/repo/extern/forgejo/docs > ./scripts/preview.sh MD FILE: /home/someUser/repo/extern/forgejo/docs/docs/_mermaid/developer/threat-analysis/threat-analysis-remote-login-propagation.md Error: Failed to launch the browser process! [0905/131017.627849:FATAL:zygote_host_impl_linux.cc(127)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox. #0 0x6361e93eef72 base::debug::CollectStackTrace() #1 0x6361e93db4b3 base::debug::StackTrace::StackTrace() #2 0x6361e932dfbf logging::LogMessage::~LogMessage() #3 0x6361e7b4ac16 content::ZygoteHostImpl::Init() #4 0x6361e8884b23 content::ContentMainRunnerImpl::Initialize() #5 0x6361e8882427 content::RunContentProcess() #6 0x6361e8882606 content::ContentMain() #7 0x6361e8e6c1fa headless::HeadlessShellMain() #8 0x6361e4fa3255 ChromeMain #9 0x75c736e2a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) #10 0x75c736e2a28b __libc_start_main #11 0x6361e4fa302a _start TROUBLESHOOTING: https://pptr.dev/troubleshooting at Interface.onClose (file:///home/someUser/repo/extern/forgejo/docs/node_modules/.pnpm/@puppeteer+browsers@0.5.0/node_modules/@puppeteer/browsers/lib/esm/launch.js:253:24) at Interface.emit (node:events:536:35) at Interface.close (node:internal/readline/interface:530:10) at Socket.onend (node:internal/readline/interface:256:10) at Socket.emit (node:events:536:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Cloning into '.preview'... remote: Enumerating objects: 11258, done. remote: Counting objects: 100% (2737/2737), done. remote: Compressing objects: 100% (602/602), done. remote: Total 11258 (delta 2385), reused 2418 (delta 2128), pack-reused 8521 (from 1) Receiving objects: 100% (11258/11258), 12.64 MiB | 2.77 MiB/s, done. Resolving deltas: 100% (7143/7143), done.  WARN  This project is configured to use v9.6.0 of pnpm. Your current pnpm is v9.1.2 Lockfile is up to date, resolution step is skipped Packages: +797 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Downloading @img/sharp-libvips-linuxmusl-x64@1.0.4: 7.20 MB/7.20 MB, done Downloading @img/sharp-libvips-linux-x64@1.0.4: 7.06 MB/7.06 MB, done Downloading @img/sharp-libvips-linuxmusl-x64@1.2.0: 7.54 MB/7.54 MB, done Progress: resolved 797, reused 70, downloaded 727, added 797, done node_modules/.pnpm/@tailwindcss+oxide@4.1.11/node_modules/@tailwindcss/oxide: Running postinstall script, done in 155ms node_modules/.pnpm/sharp@0.33.5/node_modules/sharp: Running install script, done in 117ms node_modules/.pnpm/sharp@0.34.3/node_modules/sharp: Running install script, done in 171ms node_modules/.pnpm/esbuild@0.25.8/node_modules/esbuild: Running postinstall script, done in 121ms Downloading @img/sharp-libvips-linux-x64@1.2.0: 7.42 MB/7.42 MB, done devDependencies: + @astrojs/check 0.9.4 + @astrojs/mdx 4.3.1 + @astrojs/rss 4.0.12 + @astrojs/sitemap 3.4.1 + @astrolib/seo 1.0.0-beta.8 + @iconify-json/ic 1.2.2 + @iconify-json/mdi 1.2.3 + @iconify-json/octicon 1.2.8 + @iconify-json/simple-icons 1.2.44 + @iconify-json/tabler 1.2.20 + @tailwindcss/typography 0.5.16 + @tailwindcss/vite 4.1.11 + @types/hast 3.0.4 + @types/sanitize-html 2.16.0 + @types/semver 7.7.0 + @types/slug 5.0.9 + astro 5.12.2 + astro-icon 1.1.5 + eslint 9.31.0 + eslint-config-prettier 10.1.8 + eslint-plugin-astro 1.3.1 + eslint-plugin-jsx-a11y 6.10.2 + gitea-js 1.23.0 + husky 9.1.7 + lint-staged 16.1.2 + marked 16.1.1 + prettier 3.6.2 + prettier-plugin-astro 0.14.1 + rehype-autolink-headings 7.1.0 + rehype-slug 6.0.0 + remark-emoji 5.0.1 + sanitize-html 2.17.0 + semver 7.7.2 + sharp 0.34.3 + slug 11.0.0 + tailwindcss 4.1.11 + typescript 5.8.3 + typescript-eslint 8.38.0 > @forgejo/website@0.0.1 prepare /home/someUser/repo/extern/forgejo/docs/.preview > husky Done in 16.9s  WARN  This project is configured to use v9.6.0 of pnpm. Your current pnpm is v9.1.2 > @forgejo/website@0.0.1 dev /home/someUser/repo/extern/forgejo/docs/.preview > astro dev 13:10:42 [types] Generated 1ms update ▶ New version of Astro available: 5.13.5 Run pnpm dlx @astrojs/upgrade to update 13:10:42 [content] Syncing content [Shiki] The language "gotmpl" doesn't exist, falling back to "plaintext". [Shiki] The language "gotmpl" doesn't exist, falling back to "plaintext". [Shiki] The language "gotmpl" doesn't exist, falling back to "plaintext". 13:10:47 [content] Synced content astro v5.12.2 ready in 6970 ms ┃ Local http://localhost:4321/ ┃ Network use --host to expose 13:10:48 watching for file changes... 13:10:59 [ERROR] [ImageNotFound] Could not find requested image `../../_mermaid/_images/developer/threat-analysis/threat-analysis-remote-login-propagation-1.svg`. Does it exist? Hint: This is often caused by a typo in the image path. Please make sure the file exists, and is spelled correctly. Error reference: https://docs.astro.build/en/reference/errors/image-not-found/ Stack trace: at astro:asset-imports:125:42 [...] See full stack trace in the browser, or rerun with --verbose. ```
Member

I can’t reproduce 🤔 Neither with node v24.4.1 nor with 24.7.0.

I can’t reproduce 🤔 Neither with node v24.4.1 nor with 24.7.0.
Author
Member

Hmm maybe its on my side.
Can you help me with the exact steps to build the docs/website?
I should mention, that I encounter the same behaviour when trying to build the website.

Hmm maybe its on my side. Can you help me with the exact steps to build the docs/website? I should mention, that I encounter the same behaviour when trying to build the website.
Owner

I happen to have recent installation of opensuse leap v15.6, I installed pnpm v10.15.1 and NodeJS v20.19.2. Cloned the docs repository and then ran COREPACK_ENABLE_STRICT=0 pnpm run preview. I first got the "no stable release" error, but refreshing that page and I got the rendered documentation.

Not sure how much this helps, you could try removing the pnpm store via https://pnpm.io/uninstall#removing-the-global-content-addressable-store and run pnpm install again.

I happen to have recent installation of opensuse leap v15.6, I installed pnpm v10.15.1 and NodeJS v20.19.2. Cloned the docs repository and then ran `COREPACK_ENABLE_STRICT=0 pnpm run preview`. I first got the "no stable release" error, but refreshing that page and I got the rendered documentation. Not sure how much this helps, you could try removing the pnpm store via https://pnpm.io/uninstall#removing-the-global-content-addressable-store and run `pnpm install` again.
Author
Member

Alright, so I tried the following:

# updated my folder structure
rm -rf forgejo-docs
rm -rf ~/.local/share/pnpm/
git clone ssh://git@codeberg.org/forgejo/docs.git
nvm install 20.19.2
# Install specific pnpm version
curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=10.15.1 sh -
cd docs
pnpm install
COREPACK_ENABLE_STRICT=0 pnpm run preview

But i'm still running into the same error. I feel like i'm missing something. I updated the issue description with the output of COREPACK_ENABLE_STRICT=0 pnpm run preview after doing all the steps

Alright, so I tried the following: ```bash # updated my folder structure rm -rf forgejo-docs rm -rf ~/.local/share/pnpm/ git clone ssh://git@codeberg.org/forgejo/docs.git nvm install 20.19.2 # Install specific pnpm version curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=10.15.1 sh - cd docs pnpm install COREPACK_ENABLE_STRICT=0 pnpm run preview ``` But i'm still running into the same error. I feel like i'm missing something. I updated the issue description with the output of COREPACK_ENABLE_STRICT=0 pnpm run preview after doing all the steps
Author
Member

One thing i noticed:
Outside of the docs folder pnpm -v results in 10.15.1 while inside the docs folder 9.1.2 is given as pnpm version.
Which is configured in the package.json of course
"packageManager": "pnpm@9.1.2+sha512.127dc83b9ea10c32be65d22a8efb4a65fb952e8fefbdfded39bdc3c97efc32d31b48b00420df2c1187ace28c921c902f0cb5a134a4d032b8b5295cbfa2c681e2"

One thing i noticed: Outside of the docs folder `pnpm -v` results in 10.15.1 while inside the docs folder 9.1.2 is given as pnpm version. Which is configured in the package.json of course `"packageManager": "pnpm@9.1.2+sha512.127dc83b9ea10c32be65d22a8efb4a65fb952e8fefbdfded39bdc3c97efc32d31b48b00420df2c1187ace28c921c902f0cb5a134a4d032b8b5295cbfa2c681e2"`
Author
Member

Partial Success: On another retry I finally got the docs to display.
However on running COREPACK_ENABLE_STRICT=0 pnpm run preview the above mentioned images still get deleted.

Things different in this trial:

  • Edited package.json to use pnpm v10.15.1
  • Saw the warning attached as screenshot
    • Used pnpm approve-builds to build puppeteer
  • Then run COREPACK_ENABLE_STRICT=0 pnpm run preview
  • The images got deleted, but after restoring the docs showed up

After this I reverted to pnpm 9.1.2, deleted local node_modules and ~/.local/share/pnpm and tried the whole process again with the same outcome.

So now to find out, why the images get deleted.

Partial Success: On another retry I finally got the docs to display. However on running `COREPACK_ENABLE_STRICT=0 pnpm run preview` the above mentioned images still get deleted. Things different in this trial: * Edited package.json to use pnpm v10.15.1 * Saw the warning attached as screenshot * Used `pnpm approve-builds` to build puppeteer * Then run `COREPACK_ENABLE_STRICT=0 pnpm run preview` * The images got deleted, but after restoring the docs showed up After this I reverted to pnpm 9.1.2, deleted local node_modules and ~/.local/share/pnpm and tried the whole process again with the same outcome. So now to find out, why the images get deleted.
Author
Member

Alright, the deleted images turn out to be a side effect of another problem:

Ubuntu 24 restricts chrome with an app armor profile. There is a workaround which involves editing the app-armor profile. The current way of mermaid image generation involves deleting and re-generating svgs. So if the process of generation fails, the images will be missing of course. I'll look into that and update here.

Note: puppetteer auto-downloads an up to date version of chrome. This will be blocked by ubuntu app-armor.

Alright, the deleted images turn out to be a side effect of another problem: Ubuntu 24 [restricts chrome](https://sachachua.com/blog/2025/01/org-babel-mermaid-js-and-fixing-failed-to-launch-the-browser-process-on-ubuntu-24/) with an app armor profile. There is a [workaround](https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md) which involves editing the app-armor profile. The current way of mermaid image generation involves deleting and re-generating svgs. So if the process of generation fails, the images will be missing of course. I'll look into that and update here. Note: puppetteer auto-downloads an up to date version of chrome. This will be blocked by ubuntu app-armor.
Author
Member

Okay, solved:

  • Install a version of chrome
  • Update or create an app-armor profile as described in links above
  • Run with PUPPETEER_EXECUTABLE_PATH="path/to/downloaded/chrome/executable" PUPETEER_SKIP_CHROMIUM_DOWNLOAD="true" COREPACK_ENABLE_STRICT=0 pnpm run preview
  • Script will now run without errors
Okay, solved: * Install a version of chrome * I did: `npx @puppeteer/browsers install chrome@stable` in my $HOME * As described here: https://www.chromium.org/getting-involved/download-chromium/ * Update or create an app-armor profile as described in links above * Run with `PUPPETEER_EXECUTABLE_PATH="path/to/downloaded/chrome/executable" PUPETEER_SKIP_CHROMIUM_DOWNLOAD="true" COREPACK_ENABLE_STRICT=0 pnpm run preview` * Script will now run without errors
Owner

forgejo/docs#1454 was merged, I think this can be closed?

forgejo/docs#1454 was merged, I think this can be closed?
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo/docs#1430
No description provided.