-
Notifications
You must be signed in to change notification settings - Fork 24.2k
-
Notifications
You must be signed in to change notification settings - Fork 24.2k
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
Passing --sourcemap-output to extraPackagerArgs fails to build. #24044
Comments
I don't think this is related to passing CC: @dulmandakh, you had exact same error with BUCK cache MD5 issue. How did you manage to solve it? |
It looks like you are using an older version of React Native. Please update to the latest release, v0.59 and verify if the issue still exists. The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
|
@grabbou It's the only thing that I'm changing. If I remove this:
It runs fine. Checking the delete of the .sock file now... |
Weird. So I deleted that > Task :cntral:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture fingerprint of input files for task ':cntral:bundleReleaseJsAndAssets' property '$1' during up-to-date check.
> Could not list contents of '/Users/me/Development/ntwrk/node_modules/.bin/extract-zip'. Couldn't follow symbolic link. So, And, to confirm, if I just manually update the "--reset-cache", "--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir, *extraArgs) to
It works fine and the sourcemaps are generated. It's just trying to add the Anything else I can try to help diagnose? Thanks! |
An update for you. I moved the
And it worked fine. So it had to do with trying to add the Anyway, doesn't seem related to Thanks for looking at it regardless. 👍 |
🐛 Bug Report
I want to generate sourcemaps when running
./gradlew assembleRelease
.I looked into
react.gradle
and saw that it acceptsextraPackagerArgs
and passes that to the bundle command.So I tried passing the
--sourcemap-output
option in mybuild.gradle
like so:But I get the following error when running
./gradlew assembleRelease
:To Reproduce
See above.
Expected Behavior
Generates an APK as well as the sourcemaps.
Environment
The text was updated successfully, but these errors were encountered: