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

Something is up with Webpack eslint-loader caching #301

Closed
marcaaron opened this issue Aug 26, 2020 · 1 comment · Fixed by #519
Closed

Something is up with Webpack eslint-loader caching #301

marcaaron opened this issue Aug 26, 2020 · 1 comment · Fixed by #519
Assignees

Comments

@marcaaron
Copy link
Contributor

Having trouble reproducing this but noticed it happened a few times.

Here's what happens... eslint complains about something and then despite fixing it the error will not go away.
Removing node_modules and running npm i again will fix this issue and eslint will finally stop complaining.

I'm guessing the problem is related to this line

https://github.com/Expensify/ReactNativeChat/blob/cd3f616e4ded94aa1cf69464fd7e1733de3bee99/webpack.common.js#L48-L51

@marcaaron marcaaron added LOW and removed LOW labels Aug 26, 2020
@tgolen
Copy link
Contributor

tgolen commented Aug 31, 2020

I have seen this happen most often with conflicts. A slightly easier fix is to run:

rm -rf node_modules/.cache/eslint-loader/

We can try removing the cache: true, but we'll need to watch to see if that slows down development. I imagine with a big codebase, that could get pretty slow.

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 a pull request may close this issue.

4 participants