Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve module 'react-selection' #3

Open
edwardsilhol opened this issue Apr 30, 2017 · 4 comments
Open

Cannot resolve module 'react-selection' #3

edwardsilhol opened this issue Apr 30, 2017 · 4 comments

Comments

@edwardsilhol
Copy link

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 ?

@szympajka
Copy link

I have the same situation...

@icharge
Copy link

icharge commented May 10, 2020

Same

@icharge
Copy link

icharge commented May 10, 2020

Please update your NPM.

image

@peilingjiang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants