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

Issue Title: Error installing FBLazyVector during pod install #1433

Closed
Joselo-zn opened this issue Jun 10, 2024 · 1 comment
Closed

Issue Title: Error installing FBLazyVector during pod install #1433

Joselo-zn opened this issue Jun 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Joselo-zn
Copy link

Description:

I'm encountering an issue while trying to install the FBLazyVector pod as a dependency for Hermes in my React Native macOS project. The error occurs when pod install --repo-update tries to clone the specific branch v0.73.30 from the React Native GitHub repository, which does not seem to exist.

Details:

When running pod install --repo-update, the following error is encountered:

Fetching podspec for hermes-engine from ../node_modules/react-native-macos/third-party-podspecs/hermes-engine.podspec
Downloading dependencies
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.73.30)

[!] Error installing FBLazyVector
[!] /usr/bin/git clone https://github.com/facebook/react-native.git /var/folders/22/669fc4xj0bg9ts3rf8g_cnc00000gn/T/d20240609-72424-xvlwsc --template= --single-branch --depth 1 --branch v0.73.30

Cloning into '/var/folders/22/669fc4xj0bg9ts3rf8g_cnc00000gn/T/d20240609-72424-xvlwsc'...
warning: Could not find remote branch v0.73.30 to clone.
fatal: Remote branch v0.73.30 not found in upstream origin

Steps to Reproduce:

Add hermes-engine as a dependency in your Podfile:

pod 'hermes-engine', :podspec => '../node_modules/react-native-macos/third-party-podspecs/hermes-engine.podspec'
Run the following commands:

sh
cd macos
rm -rf Pods Podfile.lock
pod install --repo-update
Observe the error during the installation of FBLazyVector.

Expected Behavior:
The pod install --repo-update command should successfully install all the dependencies without errors.

Actual Behavior:
The command fails to install FBLazyVector due to the missing branch v0.73.30 in the React Native GitHub repository.

Environment:
macOS version: 14.5 (23F79)
Xcode version: 15.4 (15F31d)
React Native version: 0.73.30
Hermes version: 12
CocoaPods version: 1.15.2
Node version: V18.18.2

Additional Information:
The issue seems to be that the specified branch V0.73.30 does not exist in the React Native GitHub repository. This is preventing the successful installation of the necessary pod.

Is there an alternative solution to this problem?

Thank you for your assistance.

@Joselo-zn Joselo-zn added the bug Something isn't working label Jun 10, 2024
@tmikov
Copy link
Contributor

tmikov commented Jun 10, 2024

Hi, Hermes does not have a dependency on either DoubleConversion or FBLazyVector. In fact, Hermes by design has no dependencies.

You seem to be having a problem with a Pod file that is not a part of the Hermes project - react-native-macos/third-party-podspecs/hermes-engine.podspec. Further, you seem to be referring to https://github.com/microsoft/react-native-macos, which is a fork of React Native by Microsoft (they also have their own fork of Hermes).

Unfortunately we can't help you with either of these. I suggest filing an issue with https://github.com/microsoft/react-native-macos, or if you can reproduce the problem with https://github.com/facebook/react-native, filing an issue there.

@tmikov tmikov closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants