title: While publishing npm, getting npm publish npm ERR! 403 Forbidden PUT https//registryname/ - forbidden
body: <p>I am trying to publish the package using npm publish command. but I am getting this error every time.</p>
  <pre class="lang-none prettyprint-override"><code>npm ERR! code E403
  npm ERR! 403 Forbidden - PUT https://registryname - forbidden
  </code></pre>
  <p>I have</p>
  <pre class="lang-json prettyprint-override"><code>&quot;publishConfig&quot;: {
     &quot;registry&quot;: &quot;https://registryname&quot;
  }
  </code></pre>
  <p>and in .npmrc</p>
  <pre class="lang-none prettyprint-override"><code>registry=https://registryname
  </code></pre>
  <p>I have tried many solutions but no luck.</p>