react-hashtag icon indicating copy to clipboard operation
react-hashtag copied to clipboard

Linting error, can't find "preact"

Open tammyhart opened this issue 5 years ago • 3 comments

I know it's not a big deal, but I can't clear all my linting errors because I'm getting the following:

Module not found: Can't resolve 'preact' in '{my path}/node_modules/react-hashtag/dist'

Not sure what if anything that can be done.

tammyhart avatar Jul 02 '20 04:07 tammyhart

Hey @tammyhart thanks for opening this issue.

Ah, yeah, so I'm requiring both react and preact for it to work seamlessly no matter the context and that's the reason why I think you have that warning. Question though, is your linting running on your node_modules? 🤔 I'm not sure if I have seen that warning before and that could be the only explanation.

cristianbote avatar Jul 02 '20 06:07 cristianbote

i'm receiving same warning in console. Screen Shot 2021-03-30 at 8 11 15 PM

Libron avatar Mar 30 '21 14:03 Libron

same here

jason-hwang avatar Jul 21 '21 07:07 jason-hwang