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.

[0.54] Live Reload is broken on DeltaPatcher.js error

See original GitHub issue

Environment

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>
screenshot 2018-03-05 13 54 50

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:closed
  • Created 6 years ago
  • Reactions:85
  • Comments:93 (15 by maintainers)

github_iconTop GitHub Comments

20reactions
sydneywucommented, Mar 6, 2018

Same issue. On every other refresh, this error message will appear. Using IOS simulator

19reactions
marc-maurercommented, May 14, 2018

Got the same problem…

    "react": "^16.3.0",
    "react-native": "0.54.0",

Edit: Got it working, I had to reload the debugging page in google chrome

Read more comments on GitHub >

github_iconTop 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 >

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