Mark Lyck
1 min readSep 29, 2020

--

Unfortunately it’s a private repo that I do not own.

When I log my .npmrc file with cat just before I do an npm install it replaces my personal access token with ***.

And gives me a 401 unauthorized error when it gets to the part where it’s installing my github package from another private repo.

The only thing I have found online about this that might give any indication as to “why” is this random comment from a GitHub moderator:

I’m about to write a stackoverflow question with everything and all the methods I have tried to get this to work.

This is day 2 of trying to just get npm install to work on a GitHub action. Your solution is slightly different as it’s for circleCI, which is why it might be working for you?

--

--

Responses (1)