-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
icons.rootDir is not a function #5
Comments
Sorry, ignore my previous reply. You have posted issue to wrong repository, this is for
const { locate } = require('@iconify/json');
return locate(name); |
Could someone have a look into fixing this, please? :) |
There is nothing to fix. You are trying to use function that doesn't exist, but there is a different function. See example above. |
Sure, but I'm not using the non-existing function myself, but it's rather called inside |
Thanks! Now it makes sense. This package has version 1 of This package is deprecated and no longer maintained, though I forgot to update readme file to mention it and to archive it. I'll probably see if it can be updated to support both versions. If it works, I'll publish update. However, package will still be marked as deprecated. |
Alright, I see! As a quick workaround for people, who still want to keep using their scripts, I figured that you can also just replace |
The text was updated successfully, but these errors were encountered: