-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
eslint failed with out of memory error #4363
Comments
I think this is the issue we're facing: typescript-eslint/typescript-eslint#1192 In case if you don't want to read the thread then here are some solutions:
I think 3rd is more similar use case to us. |
I've also had this error. It was preventing me from contributing as the pre-commit hook would run I tried the 4 solutions above but didn't have any luck with them (but they might work for others). I've found that running (I've also found that increasing the memory available to Node through |
i had this problem as well my solution was
you might want to clear eslint cache as well in |
Is it necessary to run lint to |
i don't think the linter lints maybe it has to do with cache or something |
Fixed after update to eslint v9 |
Description
eslint failed with out of memory error after e2e test executed.
Steps to reproduce
node_modules
withnpx pnpm install
pnpm run dev
andpnpm exec cypress open
for e2e testScreenshots
Error Log
Code Sample
No response
Setup
Additional Context
eslint may check the
node_modules
.When I refresh
node_modules
then error is distinct temporally.The text was updated successfully, but these errors were encountered: