Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: _components_common_Upload…alog__WEBPACK_IMPORTED_MODULE_14__ is not defined #140

Open
tristaamne opened this issue Aug 24, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@tristaamne
Copy link

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 tristaamne added the bug Something isn't working label Aug 24, 2023
@ghost
Copy link

ghost commented Aug 24, 2023 via email

@jpwallace22
Copy link

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.

@Rushclin
Copy link

Rushclin commented Mar 8, 2024

Same problem

1 similar comment
@Arima666
Copy link

Same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants