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

module not found #47

Closed
srconklin opened this issue Jan 15, 2015 · 2 comments
Closed

module not found #47

srconklin opened this issue Jan 15, 2015 · 2 comments

Comments

@srconklin
Copy link

I looked through the set of open issues but did not not see an open one concerning the error that I receiving.. sorry if this is has been asked before..

I installed the package via NPM and when I require it in my module.
var Select = require('react-select');
i get "Cannot find module "react-select" MODULE NOT FOUND"

I am using webpack.

Any advice?

@JedWatson
Copy link
Owner

There have been some issues with web pack, I am currently working on a different build process that should be friendlier to both Browserify and Webpack (see #40)

That said there's no issue I know of that would cause this... maybe someone else has seen it?

@srconklin
Copy link
Author

sorry-
i misread the stack trace.. the issue was indeed this one:
#26
and the workaround proposed by @julen solved the issue for me:

{ test : /.js$/,
include: path.join(__dirname, 'node_modules', 'react-select'),
loaders: ['jsx']
}, // special case for react select

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

2 participants