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.

HMR has some Error!

See original GitHub issue


  • Android
  • Use TypeScript



When I changed App.tsx,the HMR report an error.

Reproducible Demo

RN official demo:


import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';

AppRegistry.registerComponent(appName, () => App);

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

zamotanycommented, May 24, 2021

I think I got the fix for it. @OliverNi @NiuGuohui can you update @callstack/nativepack to 1.4.2-beta.0 and check if the issue is gone? Also when testing keep in mind this limitation:

NiuGuohuicommented, May 24, 2021 This repo can be seen this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught Error: [HMR] Hot Module Replacement is disabled
I'm using webpack for my build which works without any problems using the webpack-dev-server ( npm run watch ), however when I try...
Read more >
Getting HMR errors (trying to build a customizable Slider ...
I want it 100% (or near of it) customizable. Where designers can insert arrows, dots, and work with it freely. So I basically...
Read more >
Hot Module Replacement - webpack
If Hot Module Replacement has been enabled via the HotModuleReplacementPlugin , its interface will be exposed under the property as well as ......
Read more >
[resolved] [user-error] React-fast-refresh && HMR
I've been planning to add a feature to HMR to log why it is unable to apply an update and has to reload...
Read more >
Can't get HMR working (browser console errors __hmr 404)
Hello there, I have problems getting HMR to work. ... Here's how I (tried) to install Wordpress with Sage: used trellis-cli to setup...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found