Build is failing with the weird SSH error.
jimin-genie
PROOP

a year ago

I started a new NodeJS service and it is failing due to this weird SSH error during the install steps.

#11 [stage-0  7/11] RUN --mount=type=cache,id=s/44615598-33b3-432e-8a5b-f58413c88d97-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile



#11 0.782 yarn install v1.22.19



#11 0.871 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

#11 0.894 [1/4] Resolving packages...



#11 1.416 [2/4] Fetching packages...



#11 4.845 error Command failed.

#11 4.845 Exit code: 128

#11 4.845 Command: git

#11 4.845 Arguments: ls-remote --tags --heads git@github.com:NFTfi-Genesis/nftfi.js.git

#11 4.845 Directory: /app

#11 4.845 Output:

#11 4.845 "ssh" -oBatchMode=yes: 1: ssh: not found

#11 4.845 fatal: Could not read from remote repository.



#11 4.845

#11 4.845 Please make sure you have the correct access rights

#11 4.845 and the repository exists.



#11 4.845 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.



#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete

Some how it is complaining that the SSH is not found.

0 Replies

Loading...