title: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'http://localhost/eslintrc.cjs'
body: <p>I'm receiving the below error when running unit-tests in a <code>Vue 3 JS</code>. I assume there is an incompatibility in the underlying packages, but I don't know how to find it and fix it.</p>
  <pre><code>$ vue-cli-service test:unit
    [                         ] 0% () WEBPACK  Compiling...
  
    [======================== ] 95% (emitting)
  
   ERROR  Failed to compile with 2 errors
  
  The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'http://localhost/eslintrc.cjs'
  
  You may use special comments to disable some warnings.
  Use // eslint-disable-next-line to ignore the next line.
  Use /* eslint-disable */ to ignore all warnings in a file.
    Error: Child compilation failed:
    The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'http://localhost/eslintrc.cjs'
    
    - child-compiler.js:169 
      [web-frontend]/[html-webpack-plugin]/lib/child-compiler.js:169:18
    
    - Compiler.js:564 
      [web-frontend]/[webpack]/lib/Compiler.js:564:11
    
    - Compiler.js:1183 
      [web-frontend]/[webpack]/lib/Compiler.js:1183:17
    
    
    - task_queues:96 processTicksAndRejections
      node:internal/process/task_queues:96:5
    
  
    [=========================] 99% (done) WEBPACK  Failed to compile with 2 error(s)
  </code></pre>
  <p>My <code>package.json</code>:</p>
  <pre><code>{
    &quot;name&quot;: &quot;web-frontend&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;private&quot;: true,
    &quot;scripts&quot;: {
      &quot;serve&quot;: &quot;vue-cli-service serve&quot;,
      &quot;build&quot;: &quot;vue-cli-service build&quot;,
      &quot;test:unit&quot;: &quot;vue-cli-service test:unit&quot;,
      &quot;test:e2e&quot;: &quot;vue-cli-service test:e2e&quot;,
      &quot;lint&quot;: &quot;vue-cli-service lint&quot;,
    },
    &quot;dependencies&quot;: {
      &quot;@vue/server-renderer&quot;: &quot;^3.0.4&quot;,
      &quot;Buffer&quot;: &quot;^0.0.0&quot;,
      &quot;axios&quot;: &quot;^0.25.0&quot;,
      &quot;core-js&quot;: &quot;^3.19.0&quot;,
      &quot;https-browserify&quot;: &quot;^1.0.0&quot;,
      &quot;js-yaml&quot;: &quot;^4.1.0&quot;,
      &quot;openapi-client-axios&quot;: &quot;^4.4.9&quot;,
      &quot;process&quot;: &quot;^0.11.10&quot;,
      &quot;stream-browserify&quot;: &quot;^3.0.0&quot;,
      &quot;stream-http&quot;: &quot;^3.2.0&quot;,
      &quot;util&quot;: &quot;^0.12.4&quot;,
      &quot;vue&quot;: &quot;^3.2.20&quot;,
      &quot;vue-meta&quot;: &quot;^3.0.0-alpha.9&quot;,
      &quot;vue-router&quot;: &quot;^4.0.12&quot;,
      &quot;vuex&quot;: &quot;^4.0.2&quot;,
      &quot;vuex-module-decorators&quot;: &quot;^2.0.0&quot;,
      &quot;workbox-background-sync&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-broadcast-update&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-build&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-cacheable-response&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-cli&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-core&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-expiration&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-google-analytics&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-navigation-preload&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-precaching&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-range-requests&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-routing&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-strategies&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-streams&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-sw&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-webpack-plugin&quot;: &quot;^6.4.2&quot;,
      &quot;workbox-window&quot;: &quot;^6.4.2&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@babel/core&quot;: &quot;^7.15.8&quot;,
      &quot;@types/chai&quot;: &quot;^4.2.22&quot;,
      &quot;@types/mocha&quot;: &quot;^9.0.0&quot;,
      &quot;@typescript-eslint/eslint-plugin&quot;: &quot;^5.2.0&quot;,
      &quot;@typescript-eslint/parser&quot;: &quot;^5.2.0&quot;,
      &quot;@vue/cli-plugin-babel&quot;: &quot;^4.5.15&quot;,
      &quot;@vue/cli-plugin-e2e-cypress&quot;: &quot;~5.0.0-rc.2&quot;,
      &quot;@vue/cli-plugin-eslint&quot;: &quot;~5.0.0-rc.2&quot;,
      &quot;@vue/cli-plugin-router&quot;: &quot;~5.0.0-rc.2&quot;,
      &quot;@vue/cli-plugin-typescript&quot;: &quot;~5.0.0-rc.2&quot;,
      &quot;@vue/cli-plugin-unit-mocha&quot;: &quot;~5.0.0-rc.2&quot;,
      &quot;@vue/cli-plugin-vuex&quot;: &quot;~5.0.0-rc.2&quot;,
      &quot;@vue/cli-service&quot;: &quot;^5.0.0-rc.2&quot;,
      &quot;@vue/compiler-sfc&quot;: &quot;^3.0.0-beta.14&quot;,
      &quot;@vue/eslint-config-airbnb&quot;: &quot;^6.0.0&quot;,
      &quot;@vue/eslint-config-typescript&quot;: &quot;^10.0.0&quot;,
      &quot;@vue/test-utils&quot;: &quot;^2.0.0-rc.18&quot;,
      &quot;chai&quot;: &quot;^4.1.2&quot;,
      &quot;cypress&quot;: &quot;*&quot;,
      &quot;eslint&quot;: &quot;^8.8.0&quot;,
      &quot;eslint-import-resolver-typescript&quot;: &quot;^2.5.0&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.22.1&quot;,
      &quot;eslint-plugin-vue&quot;: &quot;^8.1.1&quot;,
      &quot;eslint-plugin-vuejs-accessibility&quot;: &quot;^1.1.0&quot;,
      &quot;sass&quot;: &quot;^1.26.5&quot;,
      &quot;sass-loader&quot;: &quot;^12.3.0&quot;,
      &quot;typescript&quot;: &quot;~4.5.2&quot;,
      &quot;webpack&quot;: &quot;^5.60.0&quot;
    },
    &quot;peerDependencies&quot;: {
      &quot;webpack&quot;: &quot;^4.46.0&quot;
    }
  }
  </code></pre>