react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Hermes.exe is not supporting for Windows Server 2016

Open sakthivel-servicemax opened this issue 3 years ago • 3 comments
trafficstars

Problem Description

We have a dedicated Windows Server Machine for build generation Below is the machine configuration.

image

We have react-native-windows version 0.69.6 for our project. On build creation, Hermes.exe is generating binary file. This is working fine in our local machine. But the same is not working in our server machine.

Will the above configuration mentioned support hermes.exe?

If not, what is the requirement to make it?

Steps To Reproduce

Hermes.exe is not running if i open it. Getting the error like below in Windows Server os image

Expected Results

No response

CLI version

npx react-native --version

Environment

npx react-native info

Target Platform Version

No response

Target Device(s)

No response

Visual Studio Version

No response

Build Configuration

No response

Snack, code example, screenshot, or link to a repository

No response

sakthivel-servicemax avatar Sep 14 '22 02:09 sakthivel-servicemax

Windows Server 2016 (1607, version 10.0.14393.5066) won't have the required system components like the ICU library. Release 1703 seems to be the first Window release with ICU, see https://docs.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-#history-of-changes-to-the-icu-library-in-windows

Windows Server 2019 is 17763 / 1709, so that should be the minimum Windows Server release that can support it.

asklar avatar Sep 14 '22 05:09 asklar

If the components aren't there, I assume the relevant recommendation is to Disable Hermes and use Chakra?

Do we need to capture our stance on Windows Server supported versions here?

chrisglein avatar Sep 15 '22 17:09 chrisglein

that page lists 16299 as the min version (which IIRC is already not working based on WinUI 2.x requirements) the Windows Server version mentioned here (14393) is much older than even the minimum supported version (16299 or 17734)

asklar avatar Sep 15 '22 17:09 asklar