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
<span>npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/toxox/react-native-push-notification-popup.git</span>
<span>npm ERR! </span>
<span>npm ERR! Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.</span>
<span>npm ERR! <a href="mailto:git@github.com" rel="noopener nofollow noreferrer" target="_blank">git@github.com</a>: Permission denied (publickey).</span>
<span>npm ERR! fatal: Could not read from remote repository.</span>
<span>npm ERR! </span>
<span>npm ERR! Please make sure you have the correct access rights</span>
<span>npm ERR! and the repository exists.</span>
<span>npm ERR! </span>
<span>npm ERR! exited with error code: 128</span>
<span>npm ERR! A complete log of this run can be found in:</span>
<span>npm ERR! /root/.npm/_logs/2022-05-12T06_07_02_222Z-debug.log</span><span>npm ERR! Error while executing:</span>
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