React-native-windows: release mode error: Module HMRClient is not a registered callable module

Created on 22 Jan 2018  路  3Comments  路  Source: microsoft/react-native-windows

image

only happen in release
it's ok in debug.

Most helpful comment

Disable hot reloading, it will work fine

All 3 comments

You鈥檒l need to make sure DEV=true for your bundle - https://github.com/facebook/react-native/blob/3c2bb3e90a26a441b78eab5051f98d6d19623b56/Libraries/Core/InitializeCore.js#L232

HMRClient is disabled for release bundles in React Native for all platforms. JS bundle and Native build are separate though, so you could enable by using dev bundle for release configuration.

Disable hot reloading, it will work fine

@ManigandanRaamanathan But we need hot reloading, why is this happening and how can it solved otherwise? Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KristijanZic picture KristijanZic  路  3Comments

syedibrahimt picture syedibrahimt  路  3Comments

kikisaints picture kikisaints  路  4Comments

dubiao picture dubiao  路  3Comments

namrog84 picture namrog84  路  4Comments