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

Cannot see the source file on both iOS and android #3787

Open
wood1986 opened this issue Jun 4, 2022 · 5 comments
Open

Cannot see the source file on both iOS and android #3787

wood1986 opened this issue Jun 4, 2022 · 5 comments

Comments

@wood1986
Copy link

wood1986 commented Jun 4, 2022

🐛 Bug Report

image

To Reproduce

  1. just use the npx react-native to init a project
  2. enable hermes in the pod file
  3. set the latest flipper version to 0.147.1 in the pod file
  4. pod install
  5. yarn ios
  6. open debugger from dev menu
  7. check flipper Hermes Debugger
  8. in Page tab
  9. index.bundle show nothing

Environment

System:
    OS: macOS 12.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 20.76 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - /var/folders/kz/jgxnjgvj6g78q_lsy3221ng00000gn/T/yarn--1654333484958-0.8042797855679589/node
    Yarn: 1.22.18 - /var/folders/kz/jgxnjgvj6g78q_lsy3221ng00000gn/T/yarn--1654333484958-0.8042797855679589/yarn
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
    Watchman: 2022.03.21.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/wood/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8512546
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.15 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.68.2 => 0.68.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
@grgmo
Copy link

grgmo commented Jul 27, 2022

got the same issue with latest flipper 0.156.0 and react-native: 0.69.2, tried with fresh project and turning on hermes. If we attach debugger it lands on the file correctly and works as expected and you can still search files manually.

Screenshot 2022-07-27 at 13 55 39

@wood1986
Copy link
Author

See facebook/metro#833

@zhutc
Copy link

zhutc commented Aug 19, 2022

0.70.x has the same problem

@ws333
Copy link

ws333 commented Jan 10, 2023

Same issue for me with Flipper 0.176.1 and the following setup on a Macbook Pro M1:

A fresh TS project with npx react-native init AwesomeTSProject --template react-native-template-typescript

"react": "18.1.0",
"react-native": "0.70.6",

@grgmo How did you attach the debugger?

@BoBoooooo
Copy link

Same issue for me on 0.70.6, any solutions ?

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

5 participants