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
While building for React Native's new architecture on Windows, an issue arises where the codegen cannot locate the "src" folder. This leads to an empty path at "android\build\generated\source\codegen\java," causing the build to fail. To address this, I managed to resolve the problem by making the following changes:
I tested it by creating new empty projects for both TurboModules and Fabric (using both Java and Kotlin), and unfortunately, the build process failed for both. However, the build succeeded for Paper with the old architecture.
Link to repro
No response
Environment
Windows 11
Node.js v18.16.0
npm
The text was updated successfully, but these errors were encountered:
Description
While building for React Native's new architecture on Windows, an issue arises where the codegen cannot locate the "src" folder. This leads to an empty path at "android\build\generated\source\codegen\java," causing the build to fail. To address this, I managed to resolve the problem by making the following changes:
Packages
Selected options
I tested it by creating new empty projects for both TurboModules and Fabric (using both Java and Kotlin), and unfortunately, the build process failed for both. However, the build succeeded for Paper with the old architecture.
Link to repro
No response
Environment
Windows 11
Node.js v18.16.0
npm
The text was updated successfully, but these errors were encountered: