You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, I cloned the React 19 source code from its official repository using the standard git clone command.
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.
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:
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.
The text was updated successfully, but these errors were encountered:
React 19 Build Error Report
React version
I'm using React 19
Steps To Reproduce
First, I cloned the React 19 source code from its official repository using the standard git clone command.
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.
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:
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.
The text was updated successfully, but these errors were encountered: