[Maverick] Reactotron unable to resolve react
See original GitHub issueDescribe the bug
Error
BUNDLE ./index.js
error: Error: Unable to resolve module react from /Users/hamoboker/Projects/Senora/PizzaApp/node_modules/reactotron-react-native/dist/index.js:
None of these files exist:
* node_modules/reactotron-react-native/node_modules/react(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
* node_modules/reactotron-react-native/node_modules/react/index(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
Reproduce
ignite new PizzaApp
cd PizzaApp
npm run android/ios
Ignite version
8.0.0
Additional info
System
platform darwin
arch arm64
cpu 8 cores Apple M1
directory PizzaApp /Users/hamoboker/Projects/Senora/PizzaApp
JavaScript (and globally-installed packages)
node 16.17.1 /Users/hamoboker/.nvm/versions/node/v16.17.1/bin/node
npm 8.19.2 /Users/hamoboker/.nvm/versions/node/v16.17.1/bin/npm
@angular/cli 10.2.1
corepack 0.10.0
ignite-cli 8.0.0
nodemon 2.0.20
npm-check-updates 16.3.2
npm 8.19.2
pm2 5.2.0
prettier 2.7.1
react-devtools 4.26.0
serverless 3.17.0
ts-node 10.9.1
typescript 4.8.3
yarn 1.22.15 /Users/hamoboker/.nvm/versions/node/v16.17.1/bin/yarn
pnpm 6.11.0 /Users/hamoboker/.nvm/versions/node/v16.17.1/bin/pnpm
<no pnpm global package info available>
expo 46.0.13 managed
Ignite
ignite-cli 8.0.0 /Users/hamoboker/.nvm/versions/node/v16.17.1/bin/ignite
ignite src build /Users/hamoboker/.nvm/versions/node/v16.17.1/lib/node_modules/ignite-cli/build
Android
java 15.0.2 /usr/bin/java
android home - /Users/hamoboker/Library/Android/sdk
iOS
xcode 14.0
cocoapods 1.11.3 /opt/homebrew/bin/pod
Tools
git git version 2.37.3 /opt/homebrew/bin/git
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Reactotron - Your Robo Tour Through Awesomeness - YouTube
Reactotron is the ideal tool for building and testing React Native apps. ... ... Your browser can't play this video.
Read more >infinitered - Bountysource
What's going on? An issue loading the app on IOS simulator. This happens on a fresh install of both ignite 6 and 7....
Read more >https://gitlab.parity.io/parity/mirrors/parity-sig...
useReactNative () // add all built-in react native plugins + .connect(); ... this License or out of the use or inability to use...
Read more >Expo SDK
Failed to compile /(redacted)/node_modules/react-native/Libraries/Network/XMLHttpRequest.js Module not found: Can't resolve '.
Read more >Run react native on android emulator mac - Tumpik
So to solve this issue, cross platform app development framework kicks in. These days, even app developers use emulators of a typical kind...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#2236 will fix this for new ignite apps. For already ignited apps you can update reactotron-react-native to 5.0.3.
Hey everyone. I’ve been exploring this one. It was caused by a change in the reactotron-react-native library. I have a PR open over there that should fix it.