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

Getting exception while running the app #4

Open
anil1712 opened this issue Mar 25, 2021 · 5 comments
Open

Getting exception while running the app #4

anil1712 opened this issue Mar 25, 2021 · 5 comments

Comments

@anil1712
Copy link

Hi,

I am getting this exception while running the app

Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Worker': Response object could not be cloned.
    at eval (webpack-internal:///../node_modules/libtiffjs/lib/index.js:1:1955)
    at new Promise (<anonymous>)
    at eval (webpack-internal:///../node_modules/libtiffjs/lib/index.js:1:1783)

DevTools failed to load SourceMap: Could not load content for https://localhost:3000/libtiff-worker.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Please help me to get out of it

@aviklai
Copy link
Owner

aviklai commented Mar 25, 2021

@anil1712 Hi,
Can you please create a codesandbox for this error?

@anil1712
Copy link
Author

@aviklai Here also its not working

https://libtiffjs.netlify.app


[Violation] 'message' handler took 4452ms
DevTools failed to load SourceMap: Could not load content for https://libtiffjs.netlify.app/libtiff-worker.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE


index.js?450e:1 Uncaught (in promise) Error: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': ArrayBuffer is not detachable and could not be cloned.
    at Worker.t.data.ready.n.onmessage (index.js?450e:1)

@anil1712
Copy link
Author

@aviklai I am trying to create the codesandbox but I am getting the dependency related exception there.
Here is the link for the same

https://codesandbox.io/s/trusting-morning-qolyc

@aviklai
Copy link
Owner

aviklai commented Mar 25, 2021

@anil1712 Hi,

It looks like a change in chrome.
Just checked in firefox and it works:
https://libtiffjs.netlify.app/

I will look into it later today and I will update here.

@aviklai
Copy link
Owner

aviklai commented Mar 25, 2021

@anil1712 Hi,

Fixed and released a new version.
The demo works as well:
https://libtiffjs.netlify.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants