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
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
I have a react native app and it fails when I try to make a build. Without CodePush the build is successful.
Expected Behavior
Build & run on Android without errors
Actual Behavior
The build fails with the following message:
> Task :app:generateBundledResourcesHashRelease FAILED
*long string*
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/.../android/app/build/generated/assets/react/release/CodePushHash'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at /.../node_modules/react-native-code-push/scripts/generateBundledResourcesHash.js:81:16
at addFileToManifest (/.../node_modules/react-native-code-push/scripts/generateBundledResourcesHash.js:98:9)
at /.../node_modules/react-native-code-push/scripts/generateBundledResourcesHash.js:72:9
at addFileToManifest (/.../node_modules/react-native-code-push/scripts/generateBundledResourcesHash.js:98:9)
at addJsBundleAndMetaToManifest (/.../node_modules/react-native-code-push/scripts/generateBundledResourcesHash.js:70:5)
at /.../react-native-code-push/scripts/generateBundledResourcesHash.js:61:17
at Hash.<anonymous> (/.../node_modules/react-native-code-push/scripts/generateBundledResourcesHash.js:114:13)
at emitNone (events.js:111:20)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:generateBundledResourcesHashRelease'.
Environment
react-native-code-push version: 5.6.0
react-native version: 0.57.8
gradle version: 3.2.1
Does this reproduce on a debug build or release build? Release build. Debug build works fine.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
I have a react native app and it fails when I try to make a build. Without CodePush the build is successful.
Expected Behavior
Build & run on Android without errors
Actual Behavior
The build fails with the following message:
Environment