antfu-collective / icones

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

install error #147

Closed ZemingLun closed 1 year ago

ZemingLun commented 1 year ago

Describe the bug

run pnpm i Progress: resolved 1004, reused 1003, downloaded 0, added 0, done node_modules/.pnpm/ttf2woff2@3.0.0/node_modules/ttf2woff2: Running install script... node_modules/.pnpm/vue-demi@0.14.0_vue@3.2.47/node_modules/vue-demi: Running postinstall script... node:events:491 throw er; // Unhandled 'error' event ^

Error: ENOENT: no such file or directory, open 'D:\lunzm\icones\D:\lunzm\icones\node_modules.pnpm\ttf2woff2@3.0.0\node_modules\ttf2woff2\builderror.log' Emitted 'error' event on WriteStream instance at: at WriteStream.onerror (node:internal/streams/readable:773:14) at WriteStream.emit (node:events:513:28) at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\lunzm\icones\D:\lunzm\icones\node_modules\.pnpm\ttf2woff2@3.0.0\node_modules\ttf2woff2\builderror.log' }

Reproduction

pnpm i

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 7.54 GB / 15.56 GB
  Binaries:
    Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.37)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

pnpm

Validations

ZemingLun commented 1 year ago

切换到旧的版本安装没问题,再切回来就可以了