Failed to load config "wesbos" to extend from. Referenced from: C:\Users\user\.eslintrc
demirelio opened this issue · comments
Hi, I get this error when I try to use ESLint. I did everything as stated and all my dependencies etc are updated. I am trying to use a global setup and I am on a Windows system.
Steps to produce:
- use npx for global install, set vscode settings. And this is the response in the output console.
Global installs are not supported by ESLint anymore - that is the cause of your issue. 🙂
You need to do the per project/local
installation.
Really, WHY???? 😭
They removed that functionality back in ESLint 6 🙂
I had this issue as well on a windows machine my work provided, you will need to install it at the c:\\users\user\
directory
so run npx install-peerdeps eslint-config-wesbos
in the the same directory as the eslitrc file and then restart your vscode or whatever it will now be picked up
*** note *** if you get a failed to install npx error .. you may need to downgrade your node js version down to LTS
so essentially, your path points to the user root folder and then there it will look for a node_modules folder with your eslint installs and anything else you want to work thats not properly hitting the global path