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.

Lottie + Haul dosn't work while remote debug is on

See original GitHub issue

The problem is related to Lottie

Current Behavior

When you start to debug remotely it fails with an error Cannot create property 'runCommand' on string 'LottieAnimationView'

Expected Behavior

Debug remotely should be possible

Haul Configuration (webpack.haul.js)

module.exports = ({ platform }) => ({
  entry: `./index.${platform}.js`,
})
software version
Haul v1.0.0-beta.9
react-native 0.49.3
node v8.6.0
npm or yarn 1.2.1
lottie-react-native 2.2.7

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
zamotanycommented, Oct 10, 2019

Temporary workaround:

  1. Install remove-strict-webpack-plugin
  2. Add this plugin to the Webpack config like so:
import {withPolyfills, makeConfig} from '@haul-bundler/preset-0.60';
import RemoveStrict from 'remove-strict-webpack-plugin';

export default makeConfig({
  bundles: {
    index: {
      entry: withPolyfills('./index'),
      transform({config}) {
        config.plugins.push(new RemoveStrict());
      },
    },
  },
});

(Don’t worry about the errors, it works fine).

Use this workaround until the proper fix lands.

Read more comments on GitHub >

github_iconTop Results From Across the Web

haul/Recipes.md at master · callstack/haul - GitHub
From within the app tap on Enable remote debugging. This will open a page in Chrome, which you can safely close. Finally press...
Read more >
IntelliJ remote debugger connects, but breakpoints are not ...
Create a "Remote" run configuration in Intellij; Start up sbt , run jetty:start , and then start the remote debugger. When I do...
Read more >
Remote debugger freezes application : IDEA-204154 - YouTrack
Have java application running outside of IntelliJ (localhost is fine) · Connect to that JVM with a remote debugger. · Place a breakpoint...
Read more >
PS5 Remote Play - How to set up and enable ... - Eurogamer
How to set up remote play on the PlayStation 5, including how to use remote play via the PS4 and enable rest mode...
Read more >
Untitled
Torm kristina pirate attack, Wgm dimple couple ep 22 vietsub, Open air lichteneck 2012, ... Boiled egg calories myfitnesspal, Blind when you move...
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