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

Error in Cannot find module 'postcss-modules-values' #444

Closed
kasperpeulen opened this issue Aug 15, 2016 · 8 comments
Closed

Error in Cannot find module 'postcss-modules-values' #444

kasperpeulen opened this issue Aug 15, 2016 · 8 comments

Comments

@kasperpeulen
Copy link
Contributor

I get this error when running npm start after ejecting:

image

I used --scripts-version 0.3.0-alpha when installing.

@sorrycc
Copy link

sorrycc commented Aug 15, 2016

@eanplatter
Copy link
Contributor

thanks @sorrycc! @kasperpeulen it looks like it's an issue with postcss-modules.

@kasperpeulen
Copy link
Contributor Author

kasperpeulen commented Aug 15, 2016

I don't understand what postcss-modules are, how they are related to this error, and how that discussion that @sorrycc links is related to this.

But ehm... How can I get it to work again? :)

@eanplatter
Copy link
Contributor

Apologies, it looks as though there was a bug in one of create-react-app's dependencies. According to @sorrycc's link it looks as though they've fixed it (https://github.com/css-modules/postcss-modules-values/issues/62).

You should be able to get a working version of this by removing your node_modules directory and reinstalling them: rm -rf node_modules && npm i

@gaearon
Copy link
Contributor

gaearon commented Aug 15, 2016

Since we bundle dependencies, let’s keep this open until we release a fix for it.
(Why are we even affected? We don’t use postcss-modules-values afaik.)

@eanplatter
Copy link
Contributor

It could be from the postcss-loader dep? I attempted to reproduce the issue and couldn't. It looks like postcss fixed the issue shortly after it occured: css-modules/postcss-modules-values#62

@gaearon
Copy link
Contributor

gaearon commented Aug 15, 2016

Interesting. Let’s keep it open in case we hear more people reporting it. If not I’ll close with next release.

@kasperpeulen
Copy link
Contributor Author

I tried again today, and now it works again 🎉

@gaearon gaearon closed this as completed Sep 1, 2016
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants