You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
This is the YML file
---
image: node:14.15-alpine3.13
clone:
lfs: true
pipelines:
custom:
publish-staging:
- step:
name: Publish staging channel
deployment: staging
script:
- apk add --no-cache bash git openssh
- unset NPM_CONFIG_USER
- 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://git@github.com/toxox/react-native-push-notification-popup.git
npm ERR!
npm ERR! Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.
npm ERR! git@github.com: 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
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://git@github.com/toxox/react-native-push-notification-popup.git
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:
https://github.com/toxox/react-native-push-notification-popup.git
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.