Skip to content

error: no such file or directory, scandir 'assets/svg/' when parsing unocss.config.ts #42

@Simon-He95

Description

@Simon-He95

Describe the bug

unocss/unocss#4218 (comment)

Reproduction

https://github.com/iconify/tools/blob/main/%40iconify-demo/unocss/unocss.config.ts

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 94.33 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.16.0 - ~/.local/state/fnm_multishells/56604_1741251665534/bin/node
    Yarn: 1.22.22 - ~/.local/state/fnm_multishells/56604_1741251665534/bin/yarn
    npm: 10.8.1 - ~/.local/state/fnm_multishells/56604_1741251665534/bin/npm
    pnpm: 9.6.0 - ~/.local/state/fnm_multishells/56604_1741251665534/bin/pnpm
    bun: 1.1.21 - ~/.bun/bin/bun
    Watchman: 2024.12.02.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 133.0.6943.142
    Safari: 17.5

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions