gooftroop / react-image-magnify

A responsive image zoom component designed for shopping sites.
https://gooftroop.github.io/react-image-magnify
MIT License
18 stars 3 forks source link

Module not found: Error: Can't resolve 'react-image-magnify'. #28

Open mowtn opened 5 months ago

mowtn commented 5 months ago

i was tried import but i have face with error: Module not found: Error: Can't resolve 'react-image-magnify'. Please help me

mowtn commented 5 months ago

and after install i looking for in node_modules but it not have

robiulhr commented 1 month ago

i was facing same issue. found the package as @blacklab folder inside node_modules.

try import ReactImageMagnify from "@blacklab/react-image-magnify" instead of import ReactImageMagnify from "react-image-magnify"

it worked for me.

mowtn commented 1 month ago

Thankyou for your reply

On Thu, 29 Aug 2024 at 02:57 Robiul H. @.***> wrote:

i was facing same issue. found the package as @blacklab folder inside node_modules.

try import ReactImageMagnify from @.***/react-image-magnify" instead of import ReactImageMagnify from "react-image-magnify"

it worked for me.

— Reply to this email directly, view it on GitHub https://github.com/gooftroop/react-image-magnify/issues/28#issuecomment-2316142745, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPUNUU6OFJSO4S64VLR433ZTYTR7AVCNFSM6AAAAABGA3L7BOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWGE2DENZUGU . You are receiving this because you authored the thread.Message ID: @.***>