[0.54] Live Reload is broken on DeltaPatcher.js error
See original GitHub issueEnvironment
Environment:
OS: macOS Sierra 10.12.6
Node: 9.7.1
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Packages: (wanted => installed)
react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.0 => 0.54.0
Expected Behavior
In debug mode with Live Reload on, code changes should trigger reloading of my RN app.
Actual Behavior
Doesn’t trigger code changes since RN 0.54, it did before. Instead, code change stall on Chrome console error:
DeltaPatcher.js:58 Uncaught (in promise) Error: DeltaPatcher should receive a fresh Delta when being initialized
at DeltaPatcher.applyDelta (DeltaPatcher.js:58)
at deltaUrlToBlobUrl (deltaUrlToBlobUrl.js:34)
at <anonymous>

Steps to Reproduce
Any RN 0.54 app should reproduce this. For reference, these are dependencies in my app package.json
:
"dependencies": {
"babel-plugin-idx": "^2",
"he": "^1.1.0",
"lodash": "^4.17.2",
"moment": "^2.19.0",
"moment-timezone": "^0.5.10",
"node-summary": "../node-summary",
"react": "^16.3.0-alpha.1",
"react-native": "0.54.0",
"react-native-blur": "^3.2.0",
"react-native-code-push": "^5.2.1",
"react-native-easy-toast": "^1.0.9",
"react-native-firebase": "^3.0",
"react-native-fit-image": "^1.4.8",
"react-native-highlight-words": "^1.0.1",
"react-native-keep-awake": "^3.0.1",
"react-native-linear-gradient": "^2.0.0",
"react-native-modalbox": "^1.3.8",
"react-native-orientation": "^3.1.3",
"react-native-parallax-scroll-view": "../react-native-parallax-scroll-view",
"react-native-safari-view": "^2.0.0",
"react-native-sentry": "^0.34",
"react-native-sha256": "^1.1.1",
"react-native-status-bar-size": "^0.3.2",
"react-native-swiper": "^1.5.10",
"react-native-tooltip": "^5.2.0",
"react-native-tts": "../react-native-tts",
"react-native-vector-icons": "^4.1.1",
"react-native-webview-bridge": "../react-native-webview-bridge-RN0.51",
"react-redux": "^5.0.1",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0"
},
"devDependencies": {
"redux-logger": "^3.0.6"
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:85
- Comments:93 (15 by maintainers)
Top Results From Across the Web
window.location.reload not working for Firefox and Chrome
Thinking that browser interprets the javascript from top to bottom, if my code for reload was below the object that invokes it, it...
Read more >react-native @ 0.58.6 .. 0.59.2 - Package Diff
Visual diff of the npm package 'react-native' comparing 0.58.6 with 0.59.2.
Read more >@react-native-community/cli: Versions | Openbase
Full version history for @react-native-community/cli including change logs.
Read more >https://patch-diff.githubusercontent.com/raw/faceb...
I ran into an unrecoverable error in React Native when passing this type of ... Implementation of JS reload without crashing Summary: On...
Read more >https://git.tuerantuer.org/Integreat/integreat-app...
Libraries/Utilities/LoadingView.js - -; Ignore native directories as they may ... and Maven with auto-import -# When using Gradle or Maven with auto-import, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same issue. On every other refresh, this error message will appear. Using IOS simulator
Got the same problem…
Edit: Got it working, I had to reload the debugging page in google chrome