-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Npm private registry not working with npmrc file at the project level #2026
Comments
This may be related to jspm/npm#106. |
The thing is that with npm it works just find with the .npmrc project file. In fact if a remove the .npmrc file from my project, and leave the scope with my registry with npm auth, it works just find with jspm for installing packages. My private registry doesn't require auth for reading, only for writing. I wanted to config our work npm internal registry for work projects only. Thats why I was using the .npmrc project file, like this: project/.npmrc
But jspm can't find any package, with scope or not. My problem is not scopes, its any package install. This is everything that I tested:
~/.jspm/config
~/.npmrc
project/.npmrc
~/.jspm/config
~/.npmrc
project/.npmrc
~/.jspm/config
~/.npmrc
project/.npmrc
~/.jspm/config
~/.npmrc
project/.npmrc
I think its weird that creating a custom npm registry works fine, but if I copy the same lines to the npm registry, it doesnt work. Thanks! |
Contributions very welcome here too. |
Hi there, I have a
npmrc
file on my project level with a custom registry. Which doesn't need credentials to pull packages. With npm it works fine.But when I try to
jspm install
it fails witherr Repo npm:angular-img-fallback not found!
I've already tried
jspm registry config npm
but its the same.I found a config file in
~/.jspm/config
but the thing is, I dont want to config the registry for every project in my machine, just for those that have thenpmrc
file config in the project level.thanks!
The text was updated successfully, but these errors were encountered: