-
Notifications
You must be signed in to change notification settings - Fork 47k
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
[DevTools Bug]: Can not work on devtools, instructions lead to error #26051
Comments
Sounds like you are trying to set up the development environment of DevTools extension and found the docs confusing, rather than reporting a bug in DevTools. The docs are indeed confusing and outdated, and I plan to improve them in near future. |
Stable version. 109 |
Ah I've successfully reproduced this issue. The root cause is that webpack was using eval for local (dev mode) build. Will submit a fix soon |
## Summary resolves #26051 After we upgrade to Manifest V3, the browser no longer allow us to run `eval` within the extension. It's not a problem for prod build, but for dev build, webpack has been using eval to inject the source map for devtool. This PR changes it to an alternative method.
## Summary resolves #26051 After we upgrade to Manifest V3, the browser no longer allow us to run `eval` within the extension. It's not a problem for prod build, but for dev build, webpack has been using eval to inject the source map for devtool. This PR changes it to an alternative method. DiffTrain build for [78c4bec](78c4bec) [View git log for this commit](https://github.com/facebook/react/commits/78c4bec207795e718b5f4acc48ade19c8b94bf1f)
Thanks! |
Website or app
https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en
Repro steps
Because react requires java, not on macos (but assumes brew installed!):
Because react requires node before v17 (but assuming you have nvm installed!):
then the real stuff (directions inside folders like ./chrome/ are quite wrong):
Now inside devtools:
What exactly are you doing that works in order to build, test, and develop this extension?
How often does this bug happen?
Every time
DevTools package (automated)
No response
DevTools version (automated)
No response
Error message (automated)
No response
Error call stack (automated)
No response
Error component stack (automated)
No response
GitHub query string (automated)
No response
The text was updated successfully, but these errors were encountered: