antfu-collective / icones

⚡️ Icon Explorer with Instant searching, powered by Iconify
https://icones.js.org
MIT License
4.95k stars 240 forks source link

chore: exclude `ttf2woff2` build when installing dependencies #270

Closed userquin closed 5 months ago

userquin commented 5 months ago

Description

When installing dependencies on my Windows laptop ttf2woff2 is built and it is failing (no idea if required):

error running pnpm install --frozen-lockfile ```shell node_modules/.pnpm/ttf2woff2@3.0.0/node_modules/ttf2woff2: Running install script... node:events:492 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open 'D:\work\antfu\icones\D:\work\antfu\icones\node_modules\.pnpm\ttf2woff2@3.0.0\node_modules\ttf2woff2\builderror.lo g' Emitted 'error' event on WriteStream instance at: at WriteStream.onerror (node:internal/streams/readable:1004:14) at WriteStream.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\\work\\antfu\\icones\\D:\\work\\antfu\\icones\\node_modules\\.pnpm\\ttf2woff2@3.0.0\\node_modules\\ttf2woff2\\builderror.log' } Node.js v20.10.0 ```

Linked Issues

Additional context