Nuxt installation error : Rule can only have one resource source (provided resource and test + include + exclude) Nuxt installation error : Rule can only have one resource source (provided resource and test + include + exclude) vue.js vue.js

Nuxt installation error : Rule can only have one resource source (provided resource and test + include + exclude)


npm i -D webpack@^4.46.0 try this, it worked for me.


I've had the same issue today, it seems to be related to an npm dependencies resolution issue.

I have opened an issue in nuxt.js repository

In my project, the issue was present, cause of @nuxtjs/eslint-module, you can remove it and regen dependencies :

  • npm uninstall @nuxtjs/eslint-module
  • rm -rf node_modules package-lock.json
  • npm install

You will not longer have eslint feedbacks in your build command, but you can still use npm run lint, and you will be able to use nuxt until the issue will be fixed.