sinopia
sinopia copied to clipboard
Can't use scope with local packages
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" },
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 .
package scopes would be really useful for mixing public/private package dependencies -- I take it @scope is not supported with Sinopia? :(
I believe it is, but you have to change the config a bit. Check https://github.com/rlidwka/sinopia/issues/104#issuecomment-66044416