You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am currently developing a web page using lucide icons trough the CDN, earlier today the pages was working fine, but a few minutes ago, when i started working again the icons ware not showing, I checked the console and i was getting this error:
Uncaught ReferenceError: iconAndAliases is not defined
at Object.createIcons (createIcons.ts:7:24)
at users:133:16
Steps to reproduce
Import the js script trough the CDN
Try to execute the createIcons method
Checklist
I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
The text was updated successfully, but these errors were encountered:
The error is appearing due to a missing import, that was caused when @ericfennis, separated the createIcons function from the packages/lucide/src/lucide.ts file to packages/lucide/src/createIcons.ts but didn't copied the folowing line:
Package
Version
0.376.0
Can you reproduce this in the latest version?
Browser
Operating system
Description
Hi,
I am currently developing a web page using lucide icons trough the CDN, earlier today the pages was working fine, but a few minutes ago, when i started working again the icons ware not showing, I checked the console and i was getting this error:
Steps to reproduce
createIcons
methodChecklist
The text was updated successfully, but these errors were encountered: