Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 3.1.0
-
Fix Version/s: None
-
Component/s: NPM
-
Labels:
Description
Trying to publish a scoped package (`"name": "@org/name"`) fails:
✗ npm publish npm ERR! registry error parsing json npm ERR! publish Failed PUT 404 npm ERR! Darwin 16.1.0 npm ERR! argv "/Users/aeftimie/.nvm/versions/node/v6.5.0/bin/node" "/Users/aeftimie/.nvm/versions/node/v6.5.0/bin/npm" "publish" npm ERR! node v6.5.0 npm ERR! npm v3.10.3 npm ERR! Unexpected token < in JSON at position 0 npm ERR! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> npm ERR! <html><head> npm ERR! <title>404 Not Found</title> npm ERR! </head><body> npm ERR! <h1>Not Found</h1> npm ERR! <p>The requested URL /nexus/repository/npm-internal/@org/name was not found on this server.</p> npm ERR! </body></html> npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues>
If I use a non-scoped name (`"name": "name"`), it works fine:
✗ npm publish + name@1.0.0-alpha.0
The repo appears to be set up properly. I did follow http://books.sonatype.com/nexus-book/reference3/npm.html
Using OSS 3.1.0-04
I'm not sure if this is a bug or some misconfiguration.
Is there any special setup needed to enable a scope in Nexus 3?