useWorker icon indicating copy to clipboard operation
useWorker copied to clipboard

Uncaught ReferenceError: _components_common_Upload…alog__WEBPACK_IMPORTED_MODULE_14__ is not defined

Open tristaamne opened this issue 1 year ago • 4 comments

Sample code:

const onRunCompress = async (uploadOption: UploadOptions) => { if (waitingImages.length === 0) return;

const imageList = [];

for (let i = 0; i < waitingImages.length; i++) {
  imageList.push(waitingImages[i]);
}

setIsSubmit(true);
arraySpliter(imageList, 10).forEach(async e => {
  try {
    **const compressedPack = await compressWorker(uploadOption, e);**
    console.log('compressedPack: ', compressedPack);
  } catch (e) {
    console.log(e);
  }
});

};

It's return ErrorEvent with this message: "Uncaught ReferenceError: components_common_UploadOptionDialog__WEBPACK_IMPORTED_MODULE_14_ is not defined"

Can someone help me with this?

tristaamne avatar Aug 24 '23 03:08 tristaamne

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

ghost avatar Aug 24 '23 03:08 ghost

This is unmaintained. I tried contacting the author and got no reply. I created a new package based on a fork here. It should have your issues corrected as well as some extra features.

jpwallace22 avatar Dec 25 '23 03:12 jpwallace22

Same problem

Rushclin avatar Mar 08 '24 07:03 Rushclin

Same problem

Arima666 avatar May 10 '24 08:05 Arima666