-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Error launching JS inspector: _open(...).default.openApp is not a function #760
Comments
Had same issue and managed to figure out a workaround. I modified the default export in module.exports = {
openMain: function (target, opts) {
if (process.env.REACT_DEBUGGER) {
if (opts.app) {
console.log("Debugger for React Native is configured. Skipping launch of " + opts.app);
}
return;
}
return open(target, opts);
},
openApp: open.openApp,
}; And now I can launch the debugger 🤔 |
Coool! It's working now!! Tnx a lot! |
@Seagullie could you explain why this feature does not work straight out of the box when just installing expo? |
@Seagullie I tried the changes that you implemented but it is still giving the same error. I am on Windows 11 if that matters. |
Yup, this works! I changed the open-main.js file and added the |
i've installed as a direct requirement via |
I had this issue and editing the node module didn't work, but deleting |
I've installed last version on my Windows 11 and after click on Open JS Debugger on Android emulator - the error on terminal in Visual Studio Code - Error launching JS inspector: _open(...).default.openApp is not a function. Help!
The text was updated successfully, but these errors were encountered: