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 find module 'react-addons-css-transition-group' #2

Closed
thellimist opened this issue Dec 28, 2015 · 9 comments
Closed

Cannot find module 'react-addons-css-transition-group' #2

thellimist opened this issue Dec 28, 2015 · 9 comments

Comments

@thellimist
Copy link

When installed with npm i react-alert --save I get the error Cannot find module 'react-addons-css-transition-group'. My npm version is npm: '3.5.2'

When I call npm install react-addons-css-transition-group --save I get the error

Cannot find module '!!./../../../node_modules/css-loader/index.js!./../../../node_modules/postcss-loader/index.js!./../../../node_modules/stylus-loader/index.js!./alert.styl''
kjk referenced this issue in kjk/dbworkbench Jan 2, 2016
@schiehll
Copy link
Owner

schiehll commented Jan 6, 2016

@thellimist sorry for taking so long, I will see if I can solve this.

@thellimist
Copy link
Author

I believe it is caused by your build method. I put the repo in my project,
changed the css to scss and used gulp to build it and works perfectly.

On Tue, Jan 5, 2016, 16:51 Reinaldo Schiehll notifications@github.com
wrote:

@thellimist https://github.com/thellimist sorry for taking so long, I
will see if I can solve this.


Reply to this email directly or view it on GitHub
#2 (comment).

@schiehll
Copy link
Owner

schiehll commented Jan 6, 2016

yeah...I think that was an error with my configuration of the externals config in the webpack.config file. I think it is ok now with the 1.0.14 version. Thanks for point it out, I'm glad you was able to make it work.

@schiehll schiehll closed this as completed Jan 6, 2016
@AlwaysAwake
Copy link

I'm still getting this error. Is your module needs some dependencies outside the project? I've installed react, react-dom & react-addons-css-transition-group already as you explained.
Error: Cannot find module '!!./../../../node_modules/css-loader/index.js!./../../../node_modules/postcss-loader/index.js!./../../../node_modules/stylus-loader/index.js!./alert.styl'

@rohandas
Copy link

This project had so much potential!

@sercanov
Copy link

I'm having the same

ERROR in ./~/react-alert/dist/alert.js
Module not found: Error: Cannot resolve module 'react-addons-css-transition-group' in /Users/sercan/marang/node_modules/react-alert/dist
 @ ./~/react-alert/dist/alert.js 3:45-89

@zialink
Copy link

zialink commented Nov 28, 2019

I get almost the same error

ERROR in ./leadmanager/frontend/src/components/layout/alerts.js Module not found: Error: Can't resolve 'react-alert;' in 'C:\Users\Isaiah Obi\Documents\python\react_lead_manager\leadmanager\frontend\src\components\layout' @ ./leadmanager/frontend/src/components/layout/alerts.js 20:0-41 48:15-24 @ ./leadmanager/frontend/src/components/App.js @ ./leadmanager/frontend/src/index.js

@besLisbeth
Copy link
Collaborator

Hi, @zialink. It looks to me like you import 'react-alert' with ';' inside the quotes. Did you try to remove it?

@zialink
Copy link

zialink commented Nov 28, 2019

@besLisbeth. Yes, I did and it is working now. I was sleepy yesterday so I didn't see it. Thank you.

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

7 participants