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.

Flipper desktop (0.166.0) failing to load `flipper-plugin-react-devtools`

See original GitHub issue

🐛 Bug Report

Flipper desktop (0.166.0) failing to load flipper-plugin-react-devtools Downgrading seems to fix the issue ( I downgraded to 0.164.0 and the react-devtool started working fine again )

image
Error: Cannot find module 'C:Usersjahidlipper
esourcesapp.asar.unpackeddefaultPluginslipper-plugin-react-devtoolsdistserverAddOn.js'
Require stack:

- C:\Users\jahid\flipper\resources\app.asar\index.html

    at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)

    at Function.i._resolveFilename (node:electron/js2c/renderer_init:33:1095)

    at Module._load (node:internal/modules/cjs/loader:785:27)

    at Function.c._load (node:electron/js2c/asar_bundle:5:13343)

    at Function.i._load (node:electron/js2c/renderer_init:33:356)

    at Module.require (node:internal/modules/cjs/loader:1012:19)

    at Object.apply (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:15:760)

    at require (node:internal/modules/cjs/helpers:102:18)

    at eval (eval at loadServerAddOn (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:932:1424), <anonymous>:1:1)

    at loadServerAddOn (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:932:1424)

    at Function.start (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:928:768)

    at ServerAddOnManager.startServerAddOn (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:927:2418)

    at new ServerAddOnManager (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:927:557)

    at PluginManager.startServerAddOn (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:671:5700)

    at plugins-server-add-on-start (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:273:7774)

    at FlipperServerImpl.exec (file:///C:/Users/jahid/flipper/resources/app.asar/bundle.js:273:12866)
code: "MODULE_NOT_FOUND"
requireStack: Array(1)
0: "C:\Users\jahid\flipper\resources\app.asar\index.html"

To Reproduce

Run a react-native app and see the logs.

Environment

Windows 11 Pro, 21H2, 22000.1098 Flipper desktop (0.166.0)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
radiorzcommented, Oct 20, 2022

0.171.1 same issue image

2reactions
fkranenburgcommented, Oct 21, 2022

Got the same issue in version v0.171.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native App - Automatic Setup - Flipper
Starting with React Native 0.62, after generating your project with react-native init, the Flipper integration is ready out of the box for debug...
Read more >
React Native | Flipper | React DevTools not working
It is failing because you are trying to use an object provided by the browser. React Native is running Javascript code in a...
Read more >
Technical Preview of a Realm Flipper Plugin | MongoDB
First, you need to install the flipper-realm-plugin in the Flipper desktop application. You can find it in Flipper's plugin manager — simply ...
Read more >
Flipper: The Extensible DevTool Platform for React Native
Get next edition's tickets info here: https://www. react -europe.org/#ticketsAre you a React Native developer? Have you always been longing ...
Read more >
Introducing the React Profiler – React Blog
React 16.5 adds support for a new DevTools profiler plugin. ... If the component did not re-render as part of this commit, the...
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