Note that there are some explanatory texts on larger screens.

plurals
  1. POnpm publish with private registry (git+ssh)
    primarykey
    data
    text
    <p>I'm working with private module that i created. they are stored into my private git server. </p> <p>i set the dependencies for that modules successfully using :</p> <pre><code>"dependencies" : { "mymodule" : "git+ssh://git@git.myrepo.com/myproject#mybranch" } </code></pre> <p>now i interested in publishing new release of this module without committing manually this branch. Is that possible to use something like : npm --registry git+ssh://git@git.myrepo.com/myproject#mybranch publish </p> <p>in order to push my local update directly from where i used it to my branch ? </p> <p>by the way the previous cmd return this error : in the next foo is the username i created with npm adduser</p> <pre><code>npm --registry "git+ssh://git@git.myrepo.com/myproject#mybranch" publish npm WARN package.json foo@2.0.0 No README.md file found! npm http PUT git+ssh://git@git.myrepo.com/foo npm ERR! Error: Invalid protocol npm ERR! at Request.init (/usr/local/lib/node_modules/npm/node_modules/requ/main.js:302:31) npm ERR! at new Request (/usr/local/lib/node_modules/npm/node_modules/request/main.js:103:8) npm ERR! at request (/usr/local/lib/node_modules/npm/node_modules/request/main.js:956:11) npm ERR! at RegClient.makeRequest (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:208:13) npm ERR! at RegClient.&lt;anonymous&gt; (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:117:17) npm ERR! at RetryOperation.attempt (/usr/local/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js:56:8) npm ERR! at RegClient.regRequest [as request] (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:114:13) npm ERR! at RegClient.publish (/usr/local/lib/node_modules/npm/node_module/npm-registry-client/lib/publish.js:51:8) npm ERR! at publish_ (/usr/local/lib/node_modules/npm/lib/publish.js:95:12) npm ERR! at Array.1 (/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8) </code></pre> <p>if someone know a solution to this problem or a clue , I'll really appreciate that.</p> <p>Ostro </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload