Topic: ESLINT Errors in Vue

mwvahlb priority asked 6 years ago


Using MDPro 4.7.0. (I should have premium support for three months.) I downloaded the zip file as part of the "small bundle" and unzipped it. Then on MacOS, ran "npm install" and then "npm start". How do I handle this error about eslint config:

[./src/main.js] 1.14 KiB {app} [built] [failed] [1 error]

    + 4 hidden modules

ERROR in ./src/main.js

Module build failed (from ./node_modules/eslint-loader/index.js):

Error: No ESLint configuration found.

    at Config.getLocalConfigHierarchy (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint/lib/config.js:255:39)

    at Config.getConfigHierarchy (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint/lib/config.js:179:43)

    at Config.getConfigVector (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint/lib/config.js:286:21)

    at Config.getConfig (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint/lib/config.js:329:29)

    at processText (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint/lib/cli-engine.js:163:33)

    at CLIEngine.executeOnText (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint/lib/cli-engine.js:620:17)

    at lint (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint-loader/index.js:253:17)

    at Object.module.exports (/Users/matt/Workspaces/FunFangle_ParentPortalVue/ffppvue3/node_modules/eslint-loader/index.js:248:21)

@ multi ./build/dev-client ./src/main.js app[1]

Child html-webpack-plugin for "index.html":

         Asset      Size  Chunks  Chunk Names


Friessen free answered 5 years ago


hello im having the same problem, and that file mikolaj is asking is not in my main directory after unzipping


Mikołaj Smoleński staff commented 5 years ago

Hi Friessen,

Please download the latest 5.0.0 MDB Vue version. I've just tested it and there are no such problems.

Best regards


Mikołaj Smoleński staff answered 6 years ago


Hi there, I just tested package and can't find that problem. Could You please check if there is .eslintrc.js file in Your main directory after unzipping? Best Regards

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: 4.6.0
  • Device: MacOS
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No