Bug: intermittent error which occurs on unknown basis eslint --fix failed without output
Β #1130
Closed as not planned
Closed as not planned
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
Labels
No labels