cubing / icons

šŸ–¼ Icons for WCA events, unofficial events, and competition-related concepts.
https://icons.cubing.net
MIT License
44 stars 22 forks source link

Can't build on macOS #102

Closed lgarron closed 1 year ago

lgarron commented 1 year ago

This has always been a bit shaky, but even after cleaning the project and reinstalling deps I'm unable to build (and therefore unable to publish).

> make build
npm run build

> @cubing/icons@1.0.6 build
> gulp

[01:59:48] Requiring external module @babel/register
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[01:59:48] Using gulpfile ~/Code/git/github.com/cubing/icons/gulpfile.babel.js
[01:59:48] Starting 'default'...
[01:59:48] Starting 'copySvgs'...
[01:59:48] Starting 'copyStaticFiles'...
[01:59:48] Starting 'css'...
[01:59:48] Finished 'copyStaticFiles' after 40 ms
[01:59:48] Finished 'copySvgs' after 154 ms
[02:00:03] 'css' errored after 15 s
[02:00:03] Error: spawn potrace ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[02:00:03] 'default' errored after 15 s
make: *** [build] Error 1
jfly commented 1 year ago

spawn potrace ENOENT

This feels like you simply do not have a potrace binary on your PATH? Does which -a potrace say anything?

lgarron commented 1 year ago

Aha, thanks! I forgot I'd moved computers since last building icons!