Install NPM Package from Private Gitlab Registry fails with 404


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.


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: " 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 for documentation about this command.
yarn exited with non-zero code: 1

Since all the Packages are hosted on S3 the File gives you a redirect URL with valid Signatures to download the File from S3.

Somebody an Idea what I’m missing?

Thanks so far.

Hey @spookee, are you still encountering this issue? From a cursory glance it looks like you’ve configured things correctly.


Yes, thanks, it just worked the next day.