After using code from GitHub, I encountered an error.
Any tips? I am new to JavaScript and Vue.js, and I'm constantly having issues with modules.
I tried:
npm uninstall webpack
and then:
npm install webpack@^4.0.0 --save-dev
It's still not working :( I even tried other versions... Thanks for the help. By the way, this is my first post! Sorry if something is wrong.
Here is the error message:
Error: Rule can only have one resource source (provided resource and test + include + exclude) in {
"exclude": [
null
],
"use": [
{
"loader": "C:\\Users\\kopem\\Desktop\\práce\\VueJs\\project-01\\node_modules\\cache-loader\\dist\\cjs.js",
"options": {
"cacheDirectory": "C:\\Users\\kopem\\Desktop\\práce\\VueJs\\project-01\\node_modules\\.cache\\babel-loader",
"cacheIdentifier": "50b893d9"
},
"ident": "clonedRuleSet-38.use[0]"
},
{
"loader": "C:\\Users\\kopem\\Desktop\\práce\\VueJs\\project-01\\node_modules\\babel-loader\\lib\\index.js",
"options": "undefined",
"ident": "undefined"
}
]
}
Error: Rule can only have one resource source (provided resource and test + include + exclude) in ...
(Additional lines of the error message...)