protesilaos/iosevka-comfy

Build instructions don't work for me

dabrahams opened this issue · 2 comments

➜  iosevka-comfy git:(master) npm run build -- ttf::iosevka-comfy
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /private/tmp/iosevka-comfy/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/private/tmp/iosevka-comfy/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/dave/.npm/_logs/2022-12-21T20_58_09_071Z-debug-0.log

(I'm on macOS, but presumably npm 9.2.0 should work, right?

Hello @dabrahams! You need to do this with the official iosevka.git repo, using my private-build-plans.toml: https://github.com/be5invis/iosevka.

Just updated the README:

Iosevka Comfy is configured in accordance with the documentation of
the upstream project.  This practically means that (i) [we clone the
official repo](https://github.com/be5invis/iosevka), (ii) define our
`private-build-plans.toml` at its root, (iii) install the `npm`
dependencies, and (iv) build the `.ttf` files with something like the
following for each variant (run from the root of the project):

[...]

Is this better?