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

Fix Flow "Cannot resolve module" errors on Windows #280

Merged
merged 1 commit into from
May 16, 2018

Conversation

black3r
Copy link
Contributor

@black3r black3r commented May 15, 2018

Flow on Windows seems to be unable to correctly resolve imports from react-css-modules package, because its main entry in package.json points to a directory, instead of directly pointing to the script dist/index.js.

Fixing it here seems to be easier than looking for a platform specific issue in Flow.

Flow on Windows seems to be unable to correctly resolve imports from `react-css-modules` package, because its `main` entry in `package.json` points to a directory, instead of directly pointing to the script `dist/index.js`. 

Fixing it here seems to be easier than looking for a platform specific issue in Flow.
@gajus gajus merged commit c4971f0 into gajus:master May 16, 2018
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

Successfully merging this pull request may close these issues.

2 participants