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

Yarn fails to install (Exit code: 128) #9045

Open
thenameisajay opened this issue Apr 1, 2024 · 0 comments
Open

Yarn fails to install (Exit code: 128) #9045

thenameisajay opened this issue Apr 1, 2024 · 0 comments

Comments

@thenameisajay
Copy link

thenameisajay commented Apr 1, 2024

Issue Title: Unable to fetch packages from remote repository during yarn install

Description:
Firstly, thank you for the amazing work on this project. When attempting to run yarn install in the project directory, the process fails to fetch packages from a remote repository with the following error message:

yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/googleapis/nodejs-vertexai.git
Directory: /vercel/path0
Output:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Behavior:
The yarn install command should successfully resolve and fetch packages from the remote repository without any errors.

Seen behaviour : Works on local but on production it fails to fetch the package

Environment:

  • Operating System: [macOS Ventura]
  • Yarn version: [e.g., 1.22.19]
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

1 participant