I download start template and create new project.
I run npm install, every thing ok.
But when run npm run dev then error
ERROR Failed to compile with 2 errors 7:01:54 PM
Module build failed: Error: No ESLint configuration found.
at getLocalConfig (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/config.js:162:35)
at Config.getConfig (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/config.js:260:26)
at processText (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/cli-engine.js:224:33)
at CLIEngine.executeOnText (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/cli-engine.js:754:26)
at lint (/home/manhlinhng/www/manhlinhng/node_modules/eslint-loader/index.js:211:17)
at Object.module.exports (/home/manhlinhng/www/manhlinhng/node_modules/eslint-loader/index.js:206:21)
Module build failed: Error: No ESLint configuration found.
at getLocalConfig (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/config.js:162:35)
at Config.getConfig (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/config.js:260:26)
at processText (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/cli-engine.js:224:33)
at CLIEngine.executeOnText (/home/manhlinhng/www/manhlinhng/node_modules/eslint/lib/cli-engine.js:754:26)
at lint (/home/manhlinhng/www/manhlinhng/node_modules/eslint-loader/index.js:211:17)
at Object.module.exports (/home/manhlinhng/www/manhlinhng/node_modules/eslint-loader/index.js:206:21)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

@manhlinhit Please disable linter section inside nuxt.config.js file (on build extend)
You talk about this section

Yep :) If you need eslint .eslint file and dev dependencies are then needed.
For a quick start, I installed the https://www.npmjs.com/package/eslint-config-vue package. Works like a charm
So sudden i get this error, can't figure out why, I do have .eslintrc.js in root.
Found this Issue page during a Google Search for the same Linting error during webpack.
in webpack.base.conf.js just comment out this line
module: {
rules: [
//...(config.dev.useEslint ? [createLintingRule()] : []),
{
test: /\.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
},
I tried all the other suggestions first.
Just got this now. Completely out of nowhere. Digging. And yes, I have a config file and the project has been working for months. So random.
Okay, this is more my fault, but it may help someone else. When using a local "file:" package reference, then the issue occurs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Yep :) If you need eslint .eslint file and dev dependencies are then needed.