Ernxst / subfont

A plugin to purge unused glyphs from your font files to minimise bundle size
subfont-testing.vercel.app
MIT License
9 stars 2 forks source link

glyphhanger: command not found #6

Open J05HI opened 9 months ago

J05HI commented 9 months ago

Describe the bug

I'm getting the following error when using with Astro. Does glyphhanger have to be installed globally?

Screenshot 2024-01-09 19-11-35

Reproduction

Use the astro example

System Info

System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M1
    Memory: 93.03 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.14.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 120.0.6099.199
    Safari: 17.2.1

Used Package Manager

pnpm

Validations

wushuangs commented 5 months ago

export PUPPETEER_SKIP_DOWNLOAD='true'