title: Uncaught SyntaxError: Unexpected token '<' When I use libarchive.js
body: <p>I'm trying to use <a href="https://github.com/nika-begiashvili/libarchivejs" rel="nofollow noreferrer">libarchive.js</a> to decompress a zip file that protected by a password.</p>
  <pre><code>import {Archive} from 'libarchive.js/main.js';
  
  Archive.init({
      workerUrl: 'libarchive.js/dist/worker-bundle.js'
  });
  
  document.getElementById('file').addEventListener('change', async (e) =&gt; {
      const file = e.currentTarget.files[0];
  
      const archive = await Archive.open(file);
      let obj = await archive.extractFiles();
      
      console.log(obj);
  });
  
  </code></pre>
  <p>When I run this code, the console shows below output.
  <a href="https://i.stack.imgur.com/K86vh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K86vh.png" alt="enter image description here" /></a></p>
  <p>I have tried many workerUrl like below. But the result is same.</p>
  <pre><code>workerUrl: 'libarchive.js/dist/worker-bundle.js'
  workerUrl: '/libarchive.js/dist/worker-bundle.js'
  workerUrl: '../libarchive.js/dist/worker-bundle.js'
  workerUrl: '../../libarchive.js/dist/worker-bundle.js'
  workerUrl: '/node_modules/libarchive.js/dist/worker-bundle.js'
  workerUrl: '../node_modules/libarchive.js/dist/worker-bundle.js'
  workerUrl: '../../node_modules/libarchive.js/dist/worker-bundle.js'
  </code></pre>
  <p>What is the problem?</p>
  <p>Thanks.</p>