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
Error in 7.8.0 Cannot read property 'split' of undefined #1785
Comments
Same with node 10.0.0 & eslint 4.19.1 |
Same with node version 7 and node version 8 and eslint 4.19.1 |
Same w/ Node LTS, |
Can anyone affected by this share their eslint config, and also more of the stack trace? |
I think I found something. Might open a PR soon |
@taddei I have a fix already, I just need a regression test. |
ok cool, np. |
the hotfix is just a patch though. I noticed that it's trying to see if the method |
aha, thanks, that did it :-) |
thanks for fixing this so quickly! |
I'm still seeing this error when using
|
* chore(package): update eslint-plugin-react to 7.9.1 which solves the issue jsx-eslint/eslint-plugin-react#1785 * chore(package): Add babel-eslint as parser for eslint * lock dependencies
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This bug is in |
@DylanVann instead, a new issue should be filed - but luckily #2131 was filed and fixed already, and will be included in the next release. |
@ljharb Awesome, and it has a test too 😄 . Thank you for letting me know |
* chore(package): update eslint-plugin-react to 7.9.1 which solves the issue jsx-eslint/eslint-plugin-react#1785 * chore(package): Add babel-eslint as parser for eslint * lock dependencies
Cannot read property 'split' of undefined
TypeError: Cannot read property 'split' of undefined
at test (....node_modules/eslint-plugin-react/lib/util/version.js:30:25)
at Object.testReactVersion (...node_modules/eslint-plugin-react/lib/util/version.js:39:10)
My eslint version is "4.19.1"
My node version is 9.11.1
The text was updated successfully, but these errors were encountered: