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

Cannot resolve module 'react-selection'

Open edwardshere opened this issue 8 years ago • 4 comments

Hi there,

I've been looking for exactly the lib you built, however somehow when I install it via NPM:

npm install -S react-selection

The installation works and the lib is added to my app's package.json but when I try to use it inside a file:

import Selection from "react-selection";

It isn't recognized:

Module not found: Error: Cannot resolve module 'react-selection'

My IDE (Webstorm) also says the module isn't installed... However the directory & files are available in node_modules. This has never happened to me before, any idea what the issue could be ?

edwardshere avatar Apr 30 '17 12:04 edwardshere

I have the same situation...

szympajka avatar Jun 03 '19 16:06 szympajka

Same

icharge avatar May 10 '20 16:05 icharge

Please update your NPM.

image

icharge avatar May 10 '20 16:05 icharge

I'm still having the problem and re-installing w/ deleting package-lock.json couldn't help. Are there any possible solutions?

peilingjiang avatar Aug 28 '20 07:08 peilingjiang