Hi,
I’m having trouble getting my Gitlab NPM Registry Packages to work.
I have a valid Gitlab AccessToken in my Expo Secrets, and Provided in my .npmrc
.
@mydomain:registry=https://gitlab.mydomain.de/api/v4/packages/npm/
//gitlab.mydomain.de/api/v4/packages/npm/:_authToken=${NPM_GITLAB_TOKEN}
//gitlab.mydomain.de/api/v4/projects/123/packages/npm/:_authToken=${NPM_GITLAB_TOKEN}
The EAS Build Process can’t find the Package:
Running yarn in the root dir of your repository
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://gitlab.mydomain.de/api/v4/projects/123/packages/npm/@mydomain/types/-/@mydomain/types-1.7.25.tgz: Request failed \"404 Not Found\"".
info If you think this is a bug, please open a bug report with the information provided in "/Users/expo/workingdir/build/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn exited with non-zero code: 1
Since all the Packages are hosted on S3 the File https://gitlab.mydomain.de/.../@maydomain/types-1.7.25.tgz gives you a redirect URL with valid Signatures to download the File from S3.
Somebody an Idea what I’m missing?
Thanks so far.