Describe the bug
A clear and concise description of what the bug is.
The following path is too big to be handled by windows CMD or powershell:
reactnativekeyboardcontroller_autolinked_build/CMakeFiles/react_codegen_reactnativekeyboardcontroller.dir/C_/dev/truckup-pro/node_modules/react-native-keyboard-controller/android/build/generated/source/codegen/jni/react/renderer/components/reactnativekeyboardcontroller/reactnativekeyboardcontrollerJSI-generated.cpp.o
the app fails to build due to this problem. It is a windows limitation that cannot be fixed via regedit, because CMAKE and ninja are not up to date to match versions that take care of this limitation
Code snippet
It happens literally on app build, no code change needed
Repo for reproducing
I am currently unable to provide the code i am running to repro this. I can try to create a mock repo if really needed
To Reproduce
Steps to reproduce the behavior:
- Install latest and try to run it with a windows device
Expected behavior
App runs and builds fine
Screenshots
Smartphone (please complete the following information):
- Desktop OS: Windows 11
- Device: Android 15 emulator
- OS: Android 15
- RN version: 0.80.2
- RN architecture:Fabric
- JS engine: Hermes
- Library version: latest
Additional context
The main reason seems to be the fact that the entire package name is used multiple times in the paths. This artifically increases the path length by over 40 characters for no real benefit.
Would it be possible to refactor those names to simpler and smaller names to ensure compatibility?
In our sturcture we wishto allow for people to run the code in any platform and desktop OS, be it Linux, macOS or windows
Describe the bug
A clear and concise description of what the bug is.
The following path is too big to be handled by windows CMD or powershell:
the app fails to build due to this problem. It is a windows limitation that cannot be fixed via regedit, because CMAKE and ninja are not up to date to match versions that take care of this limitation
Code snippet
It happens literally on app build, no code change needed
Repo for reproducing
I am currently unable to provide the code i am running to repro this. I can try to create a mock repo if really needed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App runs and builds fine
Screenshots
Smartphone (please complete the following information):
Additional context
The main reason seems to be the fact that the entire package name is used multiple times in the paths. This artifically increases the path length by over 40 characters for no real benefit.
Would it be possible to refactor those names to simpler and smaller names to ensure compatibility?
In our sturcture we wishto allow for people to run the code in any platform and desktop OS, be it Linux, macOS or windows