CircleCI-Public / node-orb

An orb for working with Node.js on CircleCI
https://circleci.com/orbs/registry/orb/circleci/node
MIT License
52 stars 80 forks source link

ssh key issue with node/install #152

Closed wyardley closed 2 years ago

wyardley commented 2 years ago

Orb version:

5.0.2

What happened:

When installing git before running node/install (in this case using self-hosted CircleCI runner), nvm will try to install via git, but then chokes / hangs on verifying the ssh key

=> Downloading nvm from git to '/home/circleci/.nvm'
=> Initialized empty Git repository in /home/circleci/.nvm/.git/
The authenticity of host 'github.com (192.30.255.112)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Expected behavior:

node/install should be able to install nvm / node when git is installed.

Additional Information:

wyardley commented 2 years ago

I am not sure what was happening, but it's not an issue for me now (other workaround), and the curl script used by the module seems to work when I tested it on a couple of different images.

Maxim-Filimonov commented 1 year ago

I am not sure what was happening, but it's not an issue for me now (other workaround), and the curl script used by the module seems to work when I tested it on a couple of different images.

I have the same issue. Did you change anything to make it work?