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

gts lint fails after upgrading to node 22 #892

Closed
mindrunner opened this issue Aug 21, 2024 · 1 comment
Closed

gts lint fails after upgrading to node 22 #892

mindrunner opened this issue Aug 21, 2024 · 1 comment

Comments

@mindrunner
Copy link

works fine with node 20


ESLint: 8.57.0

AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided
    at assertValidNodeInfo (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/report-translator.js:83:9)
    at /home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/report-translator.js:333:9
    at Object.report (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1047:41)
    at Program (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js:231:23)
    at ruleErrorHandler (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1076:28)
    at /home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/home/le/src/sa/account-uploader/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
 ELIFECYCLE  Command failed with exit code 1.

@mindrunner
Copy link
Author

mindrunner commented Sep 27, 2024

We had a config error in our prettier config.

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

No branches or pull requests

1 participant