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

[WARN]: Getting warning related to worker_threads while building rrweb with react app #1178

Closed
1 task done
njindal1501 opened this issue Mar 16, 2023 · 0 comments · Fixed by #1179 or #1175 · May be fixed by PostHog/rrweb#1
Closed
1 task done

[WARN]: Getting warning related to worker_threads while building rrweb with react app #1178

njindal1501 opened this issue Mar 16, 2023 · 0 comments · Fixed by #1179 or #1175 · May be fixed by PostHog/rrweb#1
Labels
bug Something isn't working

Comments

@njindal1501
Copy link

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

2.0.0-alpha.4

Expected Behavior

Should not get any warning while building create-react-app with rrweb.

Actual Behavior

Getting warning when building create react app with rrweb latest version.

./node_modules/rrweb/es/rrweb/_virtual/_rollup-plugin-web-worker-loader__helper__node__WorkerClass.js Module not found: Can't resolve 'worker_threads' in '/workspace/react-voicerecorder/node_modules/rrweb/es/rrweb/_virtual'

Steps to Reproduce

  1. Create basic react app
  2. Install rrweb@2.0.0-alpha.4
  3. Run command "npm run build"
  4. Check warnings

Testcase Gist URL

No response

Additional Information

Node Version - v16.18.1

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
1 participant