mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-10 23:39:31 -05:00
The CouchDB REST API returns always `"error": "not_found"` in the body of a 404 response: http://couchdb-13.readthedocs.org/en/latest/api-basics/#http-status-codes The npm client depends on the magic string 'not_found' as can be seen in requestDone() in npm-registry-client/lib/request.js. Before this change, npm install of an unknown package was reporting the Sinopia error string and a stack trace of npm. After this change, npm install of an unknown package returns a nice error saying "the package is not in the npm registry, bug the author" |
||
---|---|---|
.. | ||
cli.js | ||
config.js | ||
config_def.yaml | ||
config_gen.js | ||
error.js | ||
index.js | ||
local-fs.js | ||
local-storage.js | ||
logger.js | ||
middleware.js | ||
status-cats.js | ||
storage.js | ||
streams.js | ||
up-storage.js | ||
utils.js |