sinopia icon indicating copy to clipboard operation
sinopia copied to clipboard

Can't use scope with local packages

Open macdasi opened this issue 8 years ago • 3 comments

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 avatar Oct 31 '16 08:10 macdasi

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 https://github.com/rlidwka/sinopia/issues/429#issuecomment-257342734, or mute the thread https://github.com/notifications/unsubscribe-auth/AGE2MUBUyNBlUNrEA7gVJImuhhzE5RxQks5q5haxgaJpZM4KkxJR .

macdasi avatar Oct 31 '16 16:10 macdasi

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

Evanlec avatar Dec 02 '16 06:12 Evanlec

I believe it is, but you have to change the config a bit. Check https://github.com/rlidwka/sinopia/issues/104#issuecomment-66044416

Robinfr avatar Dec 14 '16 09:12 Robinfr