Skip to content

Bug: intermittent error which occurs on unknown basis eslint --fix failed without outputΒ #1130

Closed as not planned
@aprilmintacpineda

Description

Description

I intermittently get the error below. I also opened an issue with eslint and they said there's not much they can do to help eslint/eslint#15763 so I'm opening an issue here hoping for some light.

yarn run v1.22.11
$ /Users/aprilmintacpineda/app/node_modules/.bin/lint-staged
βœ” Preparing lint-staged...
⚠ Running tasks for staged files...
  ❯ package.json β€” 1 file
    ❯ *.js|*.ts|*.tsx β€” 1 file
      βœ” prettier --write
      βœ– eslint --fix [SIGSEGV]
↓ Skipped because of errors from tasks. [SKIPPED]
βœ” Reverting to original state because of errors...
βœ” Cleaning up temporary files...

βœ– eslint --fix failed without output (SIGSEGV).
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
husky - pre-commit hook exited with code 1 (error)

Steps to reproduce

I simply run git commit -m "message" && git push this is an intermittent error, and also happens at random, I can't find a way to completely replicate it.

Debug Logs

expand to view
COPY THE DEBUG LOGS HERE

Environment

  • OS: MacOS 12.2.1
  • Node.js: v16.13.0
  • lint-staged: 12.3.7

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions