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

Module not found: Error: Can't resolve 'worker_threads' #6

Open
upender7270 opened this issue Oct 19, 2024 · 1 comment
Open

Module not found: Error: Can't resolve 'worker_threads' #6

upender7270 opened this issue Oct 19, 2024 · 1 comment

Comments

@upender7270
Copy link

I found this a wonderful project.
I have integrated it into the react project but I am getting below-warning

WARNING in ../../node_modules/iink-ts/dist/iink.esm.js 1:76399-76431
Module not found: Error: Can't resolve 'worker_threads' 

I am using the version 2.0.1

@leJsboureau
Copy link
Collaborator

Hi,
If I understood correctly this warning is not blocking.
We assume that it is only compatible with up-to-date browsers. This is why we did not put polyfill for web workers.
Do you see a “ping” type message passing through the websocket connection?
Does this warning prevent the application from working?
Thank you for your interest we will try to improve this point.

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