Hello Guys, How are you all? Hope You all Are Fine. Today I am facing Error: Rule can only have one resource source in Vue.js. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Error: Rule can only have one resource source Occurs ?
I am facing the following error in my vuejs project.
Error: Rule can only have one resource source (provided resource and test + include + exclude) in
How To Solve Error: Rule can only have one resource source?
- How To Solve Error: Rule can only have one resource source?
To Solve Error: Rule can only have one resource source Deleting webpack and installing previous version worked for me as well! npm uninstall webpack npm install webpack@^4.0.0 –save-dev
- Error: Rule can only have one resource source
To Solve Error: Rule can only have one resource source Deleting webpack and installing previous version worked for me as well! npm uninstall webpack npm install webpack@^4.0.0 –save-dev
Solution 1
Deleting webpack and installing previous version worked for me as well!
npm uninstall webpack
npm install webpack@^4.0.0 --save-dev
Solution 2
problem was that in package.json it had “webpack”: ‘latest’, this generated conflicts, what I did was go back to version 4.44.0 of webpack and problem was solved.
Solution 3
downgraded to "webpack": "^4.45.0"
and it worked.
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also Read
Thank you very much it works..