"Cannot read property 'value' of null" while linting #13394
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
triage
An ESLint team member will look at this issue soon
Tell us about your environment
It does not recognize my local version but in my package.json I have
v7.1.0
I have the same error with nodejs
v12.17.0
What parser (default, Babel-ESLint, etc.) are you using?
I use
babel-eslint 10.1.0
(with@babel/core 7.10.2, @babel/node 7.10.1, @babel/preset-env 7.10.2
)Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
My file is pretty long so I'll link you to the file on the repo (on the right line): https://github.com/Skript-MC/Swan/blob/dev/src/SwanClient.js#L74
eslint .
What did you expect to happen?
No error to occur, just lint ^^
What actually happened? Please include the actual, raw output from ESLint.
Are you willing to submit a pull request to fix this bug?
No :(
Additional Infos:
For me and the other person I work on this project with, we don't have any error and the linting can finish without any problems. But we discovered this error through a GitHub action (same error as above). We then tested by downloading the repo and putting it into a brand new directory, installing deps (
npm i
) and runningnpm run lint
(=eslint .
) and the error occurs...Excuse my English
The text was updated successfully, but these errors were encountered: