Fail to run pod with 2.3.0-beta.3 in monorepo
See original GitHub issueDescription
The last change in the podspec file fails in a monorepo.
Expected behavior
It “should work”, 2.3.0-beta.2 works fine
Actual behavior & steps to reproduce
I have a monorepo with yarn workspaces, and it seems the search for reactVersion fails to find the file.
Snack or minimal code example
Just udpdated from 2.3.0-beta.2 to 2.3.0-beta.3
This is the error log (you can see the full path of the module and app)
[!] Invalid `Podfile` file:
[!] Invalid `RNReanimated.podspec` file: No such file or directory @ rb_sysopen - /Users/dan/Work/clients/current/emjoy/monorepo/packages/mobileapp/node_modules/react-native-reanimated/node_modules/react-native/package.json.
# from /Users/dan/Work/clients/current/emjoy/monorepo/packages/mobileapp/node_modules/react-native-reanimated/RNReanimated.podspec:11
# -------------------------------------------
# # Example app
> reactVersion = JSON.parse(File.read(File.join(__dir__, "node_modules", "react-native", "package.json")))["version"]
# end
# -------------------------------------------
Package versions
- React Native: 0.66.0
- React Native Reanimated: 2.3.0-beta.3
- NodeJS: v16.11.1
- Xcode: 13.0
- Java & Gradle:
Affected platforms
- Android
- iOS
- Web
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Error running pod install: How to solve this problem?
On M1 macs, this is a known issue. Here's what you should do. Run this command (need to be run only first time)....
Read more >What is monorepo? (and should you use it?) - Semaphore CI
A monorepo is a version-controlled code repository that holds many projects. While these projects may be related, they are often logically ...
Read more >Fail to run pod with 2.3.0-beta.3 in monorepo - Codesti
I have a monorepo with yarn workspaces, and it seems the search for reactVersion fails to find the file. Snack or minimal code...
Read more >How to manage your Flutter monorepos - Codemagic Blog
Run the melos run test command; Upload the results of failed Golden tests. Configure CI/CD for a monorepo. Set up Codemagic. First, you...
Read more >Step by Step Guide on Creating a Monorepo for React Native ...
Go to the iOS folder at apps/daily-horoscope-app/ios and run Pod install . After running the command, you should see there are some changes ......
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 Free
Top 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
I can’t run Android with Monorepo (reanimated: ^3.0.0-rc.0)
This is error log
@piaskowyk OMG 😻