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

Uncaught Error: Cannot find module 'react-bootstrap-daterangepicker' #55

Closed
wzup opened this issue Dec 25, 2015 · 2 comments
Closed

Uncaught Error: Cannot find module 'react-bootstrap-daterangepicker' #55

wzup opened this issue Dec 25, 2015 · 2 comments

Comments

@wzup
Copy link

wzup commented Dec 25, 2015

Fist, installation is finished with this warn: npm WARN install: UNMET PEER DEPENDENCY:

$ npm install --save react-bootstrap-daterangepicker
npm WARN install Couldn't install optional dependency: Unsupported
[email protected] node_modules\moment -> node_modules\bootstrap-daterangepicker\node_modules\moment
[email protected] c:\Users\user\sbox\node\app
├── UNMET PEER DEPENDENCY [email protected]
└── [email protected]

npm WARN EPEERINVALID [email protected] requires a peer of jquery@^1.11.3 but none was installed.

Then, after installation and require-ing react-bootstrap-daterangepicker in a module with my app's components, an error was thrown in a browser console:
Uncaught Error: Cannot find module 'react-bootstrap-daterangepicker'

My components are compiled with Browserify all right without react-bootstrap-daterangepicker. So it is not a build issue.

Why this error? How to solve it?

Versions of packages in my package.json

    "jquery": "^2.1.4",
    "moment": "^2.10.6",
    "react": "^0.14.3"
@wzup wzup closed this as completed Dec 26, 2015
@wzup
Copy link
Author

wzup commented Dec 26, 2015

Delete the issue, pls. I cannot find how

@skratchdot
Copy link
Owner

I think all we can do is close it. You can edit your comments if you want, but it looks like that's all we can do.

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