blade-ui-kit / blade-heroicons

A package to easily make use of Heroicons in your Laravel Blade views.
https://blade-ui-kit.com/blade-icons
MIT License
560 stars 50 forks source link

Error message unable to locate component with WSL2 #32

Closed domthomas-dev closed 1 year ago

domthomas-dev commented 1 year ago

Description:

With sail and WSL2, we have this error message

image

Steps To Reproduce:

We created a repo with only blade-heroicons Install this repo and run with sail and wsl2 https://github.com/codenco-dev/test-heroicons-wsl2

driesvints commented 1 year ago

I don't use Windows or wsl2 myself sorry. If you can come up with a bug fix I'd appreciate a PR.

adamz01h commented 1 year ago

I was able to solve this on WSL2 by running the docker compose in the home user folder from WSL2. image

If I run the docker-compose from anywhere else it errors out like above. Why? no idea.

domthomas-dev commented 1 year ago

I found why I have this message, but not why I have the problem. The problem is when the blade icon package calculate the svg manifest.

I don't know why, but normally the package must see 849 svg, anf it see the 97 last icons ...