Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Node installation not working in pipeline

This is the YML file

image: node:14.15-alpine3.13
lfs: true

- step:
name: Publish staging channel
deployment: staging
- apk add --no-cache bash git openssh
- npm i -g expo-cli@4.8.1
- npm ci

This is the specific package that's returning the error

"react-native-push-notification-popup": "github:toxox/react-native-push-notification-popup"


Here is the error log from the pipeline

npm ERR! Error while executing:

npm ERR! /usr/bin/git ls-remote -h -t ssh://

npm ERR!

npm ERR! Warning: Permanently added the RSA host key for IP address '' to the list of known hosts.

npm ERR! Permission denied (publickey).

npm ERR! fatal: Could not read from remote repository.

npm ERR!

npm ERR! Please make sure you have the correct access rights

npm ERR! and the repository exists.

npm ERR!

npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:

npm ERR! /root/.npm/_logs/2022-05-12T06_07_02_222Z-debug.log


This used to run before I changes some scripts. But those scripts have nothing to do with npm/git configurations. To be precise I removed the script below.

expo login --username $EXPO_USERNAME --password $EXPO_PASSWORD

1 answer

1 accepted

0 votes
Answer accepted

Hi @Lalit Thapa,

The following line shows that there is an attempt to run the git ls-remote command in a repo via SSH

npm ERR! /usr/bin/git ls-remote -h -t ssh://

Please note that the URL of the repo is an SSH one, and it looks like GitHub does not allow anonymous access via SSH (Bitbucket doesn't allow that either).

Are you specifying this dependency in the package.json file or another configuration file in your repo?
If so, the easiest way to solve this issue would be to check where this SSH URL is specified, and change it to an HTTPS one:

Kind regards,

Yup, I changed ssh to https and it's working now.

Thanks for pointing that out @Theodora Boudale 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events