-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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 build react devtools for local development, instructions lead to error #26697
Comments
Confirmed, I'm seeing this myself as of #26616 . I was able to work around it by commenting out the line |
Thanks @yanlingwang23 and @markerikson for reporting this issue introduced in #26616. Working on a fix now. |
## Summary We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in #26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows.
This should be solve now. Please reopen if you continue seeing issues in "main" after this merge. |
## Summary We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in #26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows. DiffTrain build for [f87e97a](f87e97a)
@rubennorte the devtools extension build still fails i am currently on windows and it's failing for me , i am trying to solve a devtools extension bug which is related to shadowdom and unless i can build the devtools extension that won't be possible! |
@yanlingwang23 could you try to build the react devtools extension and see if it builds or not? |
@Biki-das This screenshot doesn't show what the actual error is. Can you track it down? |
does this contrib guide still works https://gist.github.com/bvaughn/ae29cafd1290e91cbc4bf6e0be503f8a ? since it's been a long time |
I'm still having trouble in step |
@gaearon any updates on this one! |
…book#26727) ## Summary We added some post-processing in the build for RN in facebook#26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in facebook#26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows.
## Summary We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in #26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows. DiffTrain build for commit f87e97a.
Website or app
https://github.com/facebook/react/tree/main/packages/react-devtools-extensions
Repro steps
Follow the instructions here to build local version of react devtools extension: https://github.com/facebook/react/tree/main/packages/react-devtools-extensions
Stuck on this step everytime
yarn build-for-devtools
:Is there anything else I need to set up in order to make this work?
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: