Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when trying to debug JS remotely #471

Closed
matotim opened this issue Sep 5, 2018 · 4 comments
Closed

App crashes when trying to debug JS remotely #471

matotim opened this issue Sep 5, 2018 · 4 comments

Comments

@matotim
Copy link

matotim commented Sep 5, 2018

Current Behavior

On iOS, when I open the Developer menu and I click on "Debug JS Remotely", the app reloads but then crashes with those 2 errors :
Module RCTLog is not a registered callable module (calling logIfNoNativeHook)
Module RCTDeviceEventEmitter is not a registered callable module (calling emit)

I noticed that the app tries to load an index.delta, which may explain why it crashes ?

Expected Behavior

I expect the app to reload and to be able to debug my JS code inside my browser (Chrome).

Haul Configuration (webpack.haul.js)

import { createWebpackConfig } from "haul";

export default {
  webpack: createWebpackConfig(({ platform }) => ({
    entry: `./index.js`
  }))
};

Your Environment

software version
Haul 1.0.0-rc.7
react-native 0.55.2
node 8.4.0
npm or yarn 5.3.0
@zamotany
Copy link
Contributor

No longer an issue with revamped version of Haul on next branch.

@conor909
Copy link

Im getting this today on "react-native": "0.61.5"

@zamotany
Copy link
Contributor

@conor909 What version of @haul-bundler/cli are you using?

@conor909
Copy link

Sorry Im not sure what callstack/haul is, I posted in the wrong repo. Must be a React-Native issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants