christopherafbjur / sanity-plugin-icon-picker

MIT License
30 stars 27 forks source link

Global css cannot be imported from within node_modules error #36

Closed stephenavocado closed 1 year ago

stephenavocado commented 1 year ago

Hi! Getting this error after installing the sanity-plugin-icon-picker package:

error - ./node_modules/framework7-icons/css/framework7-icons.css Global css cannot be imported from within node_modules.

Is there a compiled version of this dependency or other way to work around this issue?

christopherafbjur commented 1 year ago

Hi! Seems related to #32. Are you using the package with nextJS?

stephenavocado commented 1 year ago

Hey Christopher - I see. Yes, I am using it with nextJS. Do you know if there is a workaround?

On Sun, May 21, 2023 at 3:56 AM christopherafbjur @.***> wrote:

Hi! Seems related to #32 https://github.com/christopherafbjur/sanity-plugin-icon-picker/issues/32. Are you using the package with nextJS?

— Reply to this email directly, view it on GitHub https://github.com/christopherafbjur/sanity-plugin-icon-picker/issues/36#issuecomment-1556111299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQGMYNUNHCDAC4FF3DND5TXHHDB3ANCNFSM6AAAAAAXBUTFSU . You are receiving this because you authored the thread.Message ID: @.*** com>

--

Stephen Walter

stephenwalter.io

https://www.chicagobooth.edu/

christopherafbjur commented 1 year ago

@stephenavocado I don't know of a workaround in writing moment but will take a look at this issue the upcoming week.

stephenavocado commented 1 year ago

Ok - appreciate it very much!

On Sun, May 21, 2023 at 9:22 AM christopherafbjur @.***> wrote:

@stephenavocado https://github.com/stephenavocado I don't know of a workaround in writing moment but will take a look at this issue the upcoming week.

— Reply to this email directly, view it on GitHub https://github.com/christopherafbjur/sanity-plugin-icon-picker/issues/36#issuecomment-1556179292, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQGMYOBE2X7B6LI54ZR3ZTXHIJKFANCNFSM6AAAAAAXBUTFSU . You are receiving this because you were mentioned.Message ID: @.*** com>

--

Stephen Walter

stephenwalter.io

https://www.chicagobooth.edu/

christopherafbjur commented 1 year ago

Hi @stephenavocado I did some research on this and wrote down my thoughts here. Closing this since it's a duplicate of https://github.com/christopherafbjur/sanity-plugin-icon-picker/issues/32, let's continue discussion there.