Skip to content

Bug: out of memory error while trying to lint nuxt #11249

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

Closed
4 tasks done
Tofandel opened this issue May 28, 2025 · 0 comments
Closed
4 tasks done

Bug: out of memory error while trying to lint nuxt #11249

Tofandel opened this issue May 28, 2025 · 0 comments
Labels
bug Something isn't working fix: user error issue was fixed by correcting the configuration / correcting the code locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.

Comments

@Tofandel
Copy link

Tofandel commented May 28, 2025

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue. (Well I did, but they are locked, which is counterproductive)
  • I have read the FAQ and my problem is not listed.

Issue Description

After getting out of memory errors on a CI env when linting, I decided to investigate

It turns out, that I did not artifact the .nuxt directory generated by the nuxt prepare command, and that means the .nuxt/tsconfig.json to extend from was missing

{
  "extends": "./.nuxt/tsconfig.json",
}

And this was causing eslint to infinite loop and go out of memory

I just wanted to share this for anyone with the same issue and maybe as a way to possibly reproduce the issue, but I cannot comment on #1879 and I will not look into this further because I found the direct cause

Reproduction Repository Link

#1879

Repro Steps

Versions

@Tofandel Tofandel added bug Something isn't working triage Waiting for team members to take a look labels May 28, 2025
@bradzacher bradzacher closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2025
@bradzacher bradzacher added fix: user error issue was fixed by correcting the configuration / correcting the code and removed triage Waiting for team members to take a look labels May 28, 2025
@github-actions github-actions bot added the locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. label Jun 5, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working fix: user error issue was fixed by correcting the configuration / correcting the code locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
Projects
None yet
Development

No branches or pull requests

2 participants