-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
The app generated by react-native-windows-init fails to build react-native-webview for ARM64 #13559
Comments
I reinitialised the project with
There are a few mentions of "Payload contains two or more files with the same destination path" in the issues. I've checked all offered solutions:
All have the same result. |
It looks like it's complaining about It's possible that one or more of your modules are specifying a different version of Hermes (maybe even a different older package since we renamed it at some point) which is why you're getting two different |
That'd make sense. I'm using However, I've since re-initialised the library of my own making with a different boilerplate and it's now building with I would like to re-enable |
Experimental nugets on Paper have issues when working with libraries that aren't built for that. They'd all have to be fixed for that. Our solution here is to move from experimental nugets to nugets as default for Fabric, at which point we'll make sure it works there but that doesn't backport value on Paper. I think this makes this a won't fix for Paper experimental nugets. |
Problem Description
Using a project freshly initialised from
react-native-windows-init
withexperimentalNuGetDependency
enabled, I'm struggling to create an app that uses react-native-webview on ARM.I get a build error upon running
npx react-native run-windows --logging --arch arm64 --sln windows/react-native-app-auth-js.sln
.It seems to be specific to
react-native-webview
, as this short log appears innode_modules\react-native-webview\windows\ReactNativeWebView\ARM64\Debug\ReactNativeWebView.log
:The full error log propagated up to the CLI is this:
I'm specifying in the CLI that I want it to build for ARM, so I'm unclear why it's failing. Does
react-native-webview
lack an ARM slice or something? Or isexperimentalNuGetDependency
only built for x86?Steps To Reproduce
react-native-windows
app inside an existing[email protected]
project:Expected Results
I should be able to build my RNW app on ARM without
react-native-webview
causing a build failure.CLI version
npx @react-native-community/cli -v
Environment
Community Modules
No response
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
Related
The only relevant reference I can see to this in
react-native-webview
is this issue from 2021, v0.63: react-native-webview/react-native-webview#1883. Wondering whether @asklar would recognise this.The text was updated successfully, but these errors were encountered: