tailwindlabs / heroicons

A set of free MIT-licensed high-quality SVG icons for UI development.
https://heroicons.com
MIT License
21.04k stars 1.26k forks source link

ShieldExclamationTriangleIcon.js file does not exist #792

Closed PeteAtkins closed 1 year ago

PeteAtkins commented 1 year ago

Version 2.0.10 // export { default as ShieldExclamationTriangleIcon } from './ShieldExclamationTriangleIcon.js' The above line is failing when importing either '@heroicons/vue/24/solid' or '@heroicons/vue/24/outline' as the files do not exist. Commenting out the line in node_modules/@heroicons/vue/24/outline/esm/index.js and node_modules/@heroicons/vue/24/solid/esm/index.js resolves the issue temporarily

adamwathan commented 1 year ago

Hmm I can't find any reference to ShieldExclamationTriangleIcon anywhere in the codebase — here's the file you are talking about and there is no export with that name in there:

https://unpkg.com/browse/@heroicons/vue@2.0.10/24/outline/esm/index.js

Can you provide a reproduction project?

PeteAtkins commented 1 year ago

Interesting...

I've just deleted the package from the node modules folder manually and reinstalled and the reference has been removed from mine.

I had upgraded from version 1, simply by changing the version in my package.json file... could it have had something to do with that?

Either way the issue seems to have been resolved so thank you!

And thank you for the great work on Tailwind CSS and the components UI! Loving them!

On Fri, 2 Sept 2022 at 13:33, Adam Wathan @.***> wrote:

Hmm I can't find any reference to ShieldExclamationTriangleIcon anywhere in the codebase — here's the file you are talking about and there is no export with that name in there:

@.**@./24/outline/esm/index.js

Can you provide a reproduction project?

— Reply to this email directly, view it on GitHub https://github.com/tailwindlabs/heroicons/issues/792#issuecomment-1235447811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADMZWB52CXA5B2WC3LQU23V4HXZ7ANCNFSM6AAAAAAQDGPTP4 . You are receiving this because you authored the thread.Message ID: @.***>

adamwathan commented 1 year ago

Weird one! Okay going to close then, thanks 👍