-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with private repos #36
Comments
Hi! I must admit that I have not had this use-case in mind. The problem comes from the Too bad that NPM does not seem to allow this, even when your token is correctly set up. Can you please confirm that Fixing this problem would require some logic for bypassing the look-up stage for scoped, private packages, but that would mean that we do not have the list of versions to install from, and the rest of the script would have to be adjusted for that. |
Can it be that the problem is in the npm client? I don't have npm correctly set up (faulty installation). I use yarn, which does work with |
Could be. I would suggest you try and get a healthy installation of NPM on your system, if possible. This would probably be a good thing for your setup in general :)
I suppose I could add a change to conditionally use Yarn for this lookup instead, but as far as I remember, older versions of Yarn returned a different output that NPM when using the |
Just ran into the same issue, seems that the The workaround I found was to provide my private registry config as an environment variable. |
Same issue, using Yarn and Solved in my case by adding
|
Hi
Nice cli. I've tried updating a private npm package (by that I don't mean "private": true but rather that it is published to npm as a private library) but I get the following error:
npm token is correctly set up, as I can publish using lerna.
The text was updated successfully, but these errors were encountered: