Skip to content
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

Can't use scope with local packages #429

Open
macdasi opened this issue Oct 31, 2016 · 3 comments
Open

Can't use scope with local packages #429

macdasi opened this issue Oct 31, 2016 · 3 comments

Comments

@macdasi
Copy link

macdasi commented Oct 31, 2016

I want to publish my package to http://localhost:4873/ the name of the package is @local/my-lib
If I try to do it I get error :

one of the uplinks is down, refuse to publish

without the scope it is working .
My command is

call npm config set @Local:registry http://localhost:4873
call npm publish

In my packages.json :

"publishConfig":{
"registry":"http://localhost:4873"
},

@macdasi
Copy link
Author

macdasi commented Oct 31, 2016

If I remove the @scope from the name the publish works just fine .

On Mon, Oct 31, 2016 at 6:26 PM, jmwilkinson [email protected]
wrote:

It looks like perhaps you haven't exposed the ports on your docker
container?

Also, you might want to try verdaccio
https://github.com/verdaccio/verdaccio. Sinopia isn't really maintained
anymore.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#429 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGE2MUBUyNBlUNrEA7gVJImuhhzE5RxQks5q5haxgaJpZM4KkxJR
.

@Evanlec
Copy link

Evanlec commented Dec 2, 2016

package scopes would be really useful for mixing public/private package dependencies -- I take it @scope is not supported with Sinopia? :(

@Robinfr
Copy link

Robinfr commented Dec 14, 2016

I believe it is, but you have to change the config a bit. Check #104 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants