Recently, I've ventured into the world of JavaScript and I'm looking to incorporate vue-audio-visual
into my project. However, I encountered a perplexing error in my node console that seems unrelated. The npm error message reads as follows:
code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="503323237d3c3f3134352210667e667e60">[email protected]</a>
npm ERR! Found: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="611604031100020a21554f55574f51">[email protected]</a>
npm ERR! node_modules/webpack
npm ERR! peer webpack@"^4.0.0 || ^5.0.0" from @soda/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0365716a666d676f7a2e6671716c71702e746661736260682e736f76646a6d43322d3b2d32">[email protected]</a>
npm ERR! node_modules/@soda/friendly-errors-webpack-plugin
npm ERR! @soda/friendly-errors-webpack-plugin@"^1.7.1" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="76151a1f5b051304001f151336425843584743">[email protected]</a>
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="83e0efeaaef3eff6e4eaedaee1e2e1e6efc3b7adb6adb2b6">[email protected]</a>
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! dev @vue/cli-plugin-babel@"~4.5.0" from the root project
npm ERR! 3 more (@vue/cli-plugin-router, @vue/cli-plugin-vuex, the root project)
npm ERR! webpack@"^4.0.0" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="42212e2b6f322e37252b2c6f202320272e02766c776c7377">[email protected]</a>
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! dev @vue/cli-plugin-babel@"~4.5.0" from the root project
npm ERR! 19 more (cache-loader, thread-loader, @vue/cli-service, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^5.0.0" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fe9d8d8dd392919f9a9b8cbec8d0c8d0ce">[email protected]</a>
npm ERR! node_modules/css-loader
npm ERR! peer css-loader@"*" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b0c6c5d59ddcdfd1d4d5c2f081859e81809e80">[email protected]</a>
npm ERR! node_modules/vue-loader
npm ERR! vue-loader@"^15.9.2" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="21424d480c5244535748424461150f140f1014">[email protected]</a>
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ef8c8386c29f839a888681c28d8e8d8a83afdbc1dac1deda">[email protected]</a>
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! 3 more (@vue/cli-plugin-router, @vue/cli-plugin-vuex, the root project)
npm ERR! css-loader@"^6.6.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b2c5d7d0c2d3d1d9f2879c85869c82">[email protected]</a>
npm ERR! node_modules/webpack
npm ERR! peer webpack@"^5.0.0" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="781b0b0b551417191c1d0a384e564e5648">[email protected]</a>
npm ERR! node_modules/css-loader
npm ERR! peer css-loader@"*" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3c4a49591150535d58594e7c0d09120d0c120c">[email protected]</a>
npm ERR! node_modules/vue-loader
npm ERR! vue-loader@"^15.9.2" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="43202f2a6e302631352a202603776d766d7276">[email protected]</a>
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3556595c18455940525c5b18575457505975011b001b0400">[email protected]</a>
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! 3 more (@vue/cli-plugin-router, @vue/cli-plugin-vuex, the root project)
npm ERR! css-loader@"^6.6.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/julapps/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/julapps/.npm/_logs/2022-10-23T12_42_49_511Z-debug-0.log
In my package.json file, I have the following dependencies listed:
css-loader": "^6.6.0"
And the vue dependencies are as follows:
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-router": "^4.5.15",
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.0.0",
"webpack": "^4.46.0"
}
If anyone can shed some light on what steps I should take next, I would greatly appreciate it.