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

Bug: React 19 Build Error Report #31865

Open
epicRipper opened this issue Dec 20, 2024 · 1 comment
Open

Bug: React 19 Build Error Report #31865

epicRipper opened this issue Dec 20, 2024 · 1 comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@epicRipper
Copy link

epicRipper commented Dec 20, 2024

React 19 Build Error Report

React version

I'm using React 19

Steps To Reproduce

  1. First, I cloned the React 19 source code from its official repository using the standard git clone command.

  2. After that, I navigated to the cloned directory in the terminal and ran the yarn install command to install all the necessary dependencies for the project.

  3. Then, I executed the yarn run build command to start the build process of the React 19 source code.
    However, during the build process, an error occurred. The detailed error message is as follows:

image

Link to code example

Since it's the React 19 source code itself that I'm building, I'm unable to provide a separate external code example link at the moment. The error occurs during the standard build process of the cloned React 19 source code following the steps mentioned above.

The current behavior

When running the yarn run build command after cloning the code and installing dependencies, the build process fails with the SyntaxError shown above. Specifically, the rollup-plugin-flow-remove-types plugin encounters an issue while parsing the react-dom-client.development.js file, deeming an expression at line 68, column 5 as invalid. This halts the entire build process for React 19, preventing the successful generation of the expected build output.

The expected behavior

The expected behavior is that when I follow these steps (cloning the code, installing dependencies, and running yarn run build), the build process for React 19 should complete without any errors. The rollup-plugin-flow-remove-types plugin should be able to correctly parse the react-dom-client.development.js file and perform its intended operations smoothly, allowing the build to finish successfully and produce the necessary files for React 19 as intended.

@epicRipper epicRipper added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Dec 20, 2024
@adi-ydv-1
Copy link

have you edited anything in the codebase @epicRipper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants