<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">If a non-namespaced package is published with<br>
<code class="notranslate">npm publish --access restricted</code></p>
<p dir="auto">npm ignored the user directive that access should be restricted and publishes the package.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">Attempting to publish a package which isn't namespaced with <code class="notranslate">npm publish --access restricted</code> should</p>
<ol dir="auto">
<li>warn the user that packages without namespaces cannot be given restricted access</li>
<li>exit with an error</li>
</ol>
<h3 dir="auto">Steps To Reproduce:</h3>
<ol dir="auto">
<li>Create a non-namespaces NPM package</li>
<li>Publish is using <code class="notranslate">npm publish --access restricted</code></li>
</ol>
<h1 dir="auto">What / Why</h1>

<blockquote>
<p dir="auto">Hey, I've <code class="notranslate">npm publish</code>'d a library to npm's public registry and it finished successfully, I received an email claiming it is published and when I search the exact name on npmjs.com it shows on the dropdown.<br>
However, I don't see it on my user page and it's package page returns 404.</p>
<p dir="auto">I also tried publishing another version, again, seems successful, received an email, the package page is still unavailable.</p>
<p dir="auto">Package name: <code class="notranslate">browser-jsonstore</code></p>
<p dir="auto">Links:<br>
Package page: <a href="https://www.npmjs.com/package/browser-jsonstore" rel="nofollow">https://www.npmjs.com/package/browser-jsonstore</a><br>
My user page: <a href="https://www.npmjs.com/~bluzi" rel="nofollow">https://www.npmjs.com/~bluzi</a></p>
</blockquote>
<h2 dir="auto">When</h2>

<ul dir="auto">
<li>I published it yesterday, about 15 hours ago.</li>
</ul>
<h2 dir="auto">Where</h2>

<ul dir="auto">
<li>npm publish registry</li>
</ul>
<h2 dir="auto">How</h2>
<h3 dir="auto">Current Behavior</h3>

<ul dir="auto">
<li><code class="notranslate">npm publish</code> works but the package page is missing</li>
</ul>
<h3 dir="auto">Steps to Reproduce</h3>

<p dir="auto">I assume it won't reproduce every time you'll run <code class="notranslate">npm publish</code>, but anyway:</p>
<ul dir="auto">
<li>Create a new package (<code class="notranslate">npm init</code>)</li>
<li>Publish it - <code class="notranslate">npm publish</code></li>
<li>Try browsing into its package page on npmjs.com</li>
</ul>
<p dir="auto">Or</p>
<ul dir="auto">
<li>Go to npmjs.com</li>
<li>Type <code class="notranslate">browser-jsonstore</code> into the search bar</li>
<li>Wait for the dropdown to appear, see how it has a valid description, etc</li>
<li>Click on it</li>
<li>See how it returns Error 404</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>

<ul dir="auto">
<li>Package page should be available after publishing a package</li>
</ul>
<h2 dir="auto">Who</h2>

<ul dir="auto">
<li>I'm not sure who is responsible for this kind of issues</li>
</ul>
<h2 dir="auto">References</h2>

<ul dir="auto">
<li>n/a</li>
</ul>