question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React Native windows > 0.63 WebViewBridgeComponent with x64

See original GitHub issue

Is your feature request related to a problem? If so, Please describe. I’ve been trying to build a Window 10 UWP C# application with x64 as the processor architecture. However, the app cannot be build due to the mismatch between the processor architecture of react-native-webview project that is built on x84 and the app.

this is the error that show up when the build fails

Severity Code Description Project File Line Suppression State
Error MSB3271 There was a mismatch between the processor architecture of the project being built “AMD64” and the processor architecture, “x86”, of the implementation file “C:\Users\user\app\windows\Debug\WebViewBridgeComponent\WebViewBridgeComponent.dll” for “C:\Users\user\app\windows\Debug\WebViewBridgeComponent\WebViewBridgeComponent.winmd”. This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and implementation file, or choose a winmd file with an implementation file that has a processor architecture which matches the targeted processor architecture of your project. ReactNativeWebView C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 2084

Is it possible to have react-native-webview that is being built with x64?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
aalbaharnahcommented, May 21, 2021

@asklar Yes, I was able to build the app with the latest 0.64. Thanks!

"react-native-webview": "^11.4.3"
"react-native-windows": "^0.64.7"
"react": "17.0.1"
"react-native": "0.64.0"
0reactions
trittercommented, Oct 18, 2021

@asklar @aalbaharnah For me this happens still in 0.65.0 and react-native-webview ^11.14.1, any clue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Native Module Setup · React Native for Windows + macOS
This guide will help set you up with the Visual Studio infrastructure to author your own stand-alone native module for React Native Windows....
Read more >
React Native for Android development on Windows
This guide will help you to get started using React Native on Windows to create a cross-platform app that will work on Android...
Read more >
React Native monorepo for every platform: Windows & macOS
Running a React Native app on Android, iOS, macOS, Windows, the web, ... latest stable version available for React Native for macOS is...
Read more >
Could not find GeneratedMSBuildEditorConfig.editorconfig ...
Could not find a part of the path '[PATH]\ProjectName\node_modules\react-native-windows\Microsoft.ReactNative.Managed.CodeGen\build\x64\Debug\ ...
Read more >
React Native Desktop App Development: Key technical Steps
Developing a Desktop App using React Native for Windows: Step-by-step Guidance! ... Npx react-native init — template react-native@^0.63.2.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found