title: Error: The first argument must be a File or Blob object
body: <p>Hello I am using compressorjs plugin when select images then issue is</p>
  
  <p><a href="https://www.npmjs.com/package/compressorjs#options" rel="nofollow noreferrer">https://www.npmjs.com/package/compressorjs</a></p>
  
  <p>My Code is :- </p>
  
  <pre><code>window.resolveLocalFileSystemURL(
            imageData,
            fileEntry =&gt; {
              fileEntry.file(file =&gt; {
                console.log(file);
                new Compressor(file, {
                  quality: 0.6,
                  success: result =&gt; {
                    console.log(result, result.size);
                  },
                  error: err =&gt; {
                    console.log(err);
                  }
                });
              });
            },
            err =&gt; {
              console.log(err);
            }
          );
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/KFrCg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KFrCg.png" alt="Getting issue when select images"></a></p>