How to authenticate with GitHub using PAT?

managed workflow.

I want to build a project using React Native Elements 4.0.0-rc.0 which is published on GitHub Package registry.Its documentation says we should first

npm login --scope=@react-native-elements --registry=https://npm.pkg.github.com

By providing Github username,token and email,I can successfully install dependencies in my computer,but EAS says

[stderr] error An unexpected error occurred: "https://npm.pkg.github.com/download/@react-native-elements/base/4.0.0-rc.0/6ed86c9d22687f74e4e5b5f88bfce71c31cd431ad65c3f3636e9cfa3d246b3f5: Request failed \"401 Unauthorized\"".

I don’t know how to pass my auth infomation to EAS

Hi @shadowfish

Have a look at the following documentation:

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.