Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fantasticon does not find any svg's #528

Open
gwillegers opened this issue Jul 12, 2023 · 10 comments
Open

fantasticon does not find any svg's #528

gwillegers opened this issue Jul 12, 2023 · 10 comments

Comments

@gwillegers
Copy link

I am completely new to fantasticon. I just installed it on Windows 11, and ran the following command:
fantasticon svg -o output

This results in the message:
No SVGs found in ./svg

If I look in the directory svg (which is a subdirectory of the current directory, where I am running the command from), there are 87 SVG files. All names end with .svg (lower case).

Why doesn't fantasticon find them?

@lugrinder
Copy link

Same problem, but in Windows 10. Previously works fine, but recent try to rebuild, raises the error.

@n3pu
Copy link

n3pu commented Aug 11, 2023

Same problem here. Any provisional solutions?

@mellmers
Copy link

I have the same problem.

@eltha9
Copy link

eltha9 commented Aug 14, 2023

Same problem on my side,
It seems to only occuired on Windows 10 devices =/
(tested on Debian and MacOs and work fine)

(This may help fix the issue #510 )

@tmzdy888
Copy link

我找到了问题,是源码的bug,其实是glob导入那被promise格式化后读取不到文件的,它的获取参数失败了。改回callback就正常了。

@GNUGradyn
Copy link

Same issue. Any solution?

@ratatoeskr666
Copy link

Somebody posted a solution somewhere else. Here it is for you guys:

Paste this into you package.json. It overrides the dependency from fantasticon to glob so that it uses an older (or newer) version:

"overrides": {
    "fantasticon": {
      "glob": "7.2.0"
    }
  },

Afterwards run npm install and fantasticon should work again as expected

@PredokMiF
Copy link

For yarn:

"resolutions": {
    "fantasticon/glob": "7.2.0"
}

@paolobiavati
Copy link

paolobiavati commented May 13, 2024

"overrides": {
    "fantasticon": {
      "glob": "7.2.0"
    }
  },

this is not working for me...

@seankanderson
Copy link

Just installed 3.0.0 and 2.0.0 and the problem exists on both, unusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests