I am getting this error at the starting of every file.
Error: Failed to load plugin 'jsx-a11y' declared in 'package.json >> eslint-config-react-app':Cannot read property 'href' of undefined.
Can anyone help me in resolving this
Do you have this plugin installed? Is there any more info on the error?
cannot read property 'href' of undefined tracing to standardBrowserEnv - node_modules/axe-core/axe.js:4098:8
What version of eslint-plugin-jsx-a11y and axe-core do you have? (If not the latest, please update them and re-check?)
We're using the latest version ^6.4.1
and axe-core?
Do you have this plugin installed? Is there any more info on the error?
Yeah, it is present in node_modules folder.
I didn't face this error until now.
It popped up right after opening the app in Atom after I created it using npx create-react-app.
I have no other info regarding this.
Does it happen on the command line? If not, it鈥檚 either an atom bug, or you need to configure it to only use a local eslint (you shouldn鈥檛 even have a global one installed)
Does it happen on the command line? If not, it鈥檚 either an atom bug, or you need to configure it to only use a local eslint (you shouldn鈥檛 even have a global one installed)
Confirming this is an Atom specific bug, it doesn't occur on VSCode :(
I don't have eslint globally installed.
Upgrading axe-core to version 4.1.1 fixed this issue for me
Upgrading axe-core to version 4.1.1 fixed this issue for me
Ok, will look into it.
Thanks for the info.
For now, I have uninstalled eslint globally the issue stopped popping up.