this is my package.json
Is the first error ("Please specify path to 'eslint' package") solved?
I have the same issue
Have you tried to install eslint globally and restart your IDE?
npm install --g eslint
Thanks Ali Sedighi, this fixed the error for me!
First, run `npm install --g eslint` on the terminal to install the package globally.
Make sure that the ES Lint settings are set to Automatic ES Lint Configuration
Now restart the IDE and see if the error disappears
Thanks Mutua Chris, that fixed it for me!
Thanks Muta Chris - that solved the issue
i tried the same and it still complains saying please specify a path....
Thanks Mutua Chris! That fixed it for me.
Installing ES Lint globally didn't work for me.
My problem was that the wrong version of Node was selected in my project settings. I selected the right version of Node and the problem went away.
remove node_modules and run install script
Installing eslint globally with yarn and restarting IDE resolved the issue
yarn global add eslint
The solution to this problem shouldn't have to be installing `estlint` globally. If `eslint` is installed in the project locally then the IDE should be able to find the path to it.
Installing ESLint globally is not actually recommended. If local package is not detected automatically, try changing the configuration to Manual and specify the package path explicitly.
If this doesn't work, check your Node.js preferences in Settings | Languages & Frameworks | Node.js
Please sign in to leave a comment.