As of 2024-11-19, this package is outdated. The latest version is 6.0.2
. The current version 5.29.0
is not compatible with stable Node. Authentication fails with:
fatal--- uncaught exception, please report this
TypeError: (0 , _crypto.createCipher) is not a function
at aesEncryptDeprecated (/usr/lib/node_modules/verdaccio/node_modules/@verdaccio/signature/build/legacy-signature/index.js:26:38)
at Auth.aesEncrypt (/usr/lib/node_modules/verdaccio/build/lib/auth.js:483:48)
at jwt.jwt (/usr/lib/node_modules/verdaccio/build/lib/auth-utils.js:126:20)
at new Promise (<anonymous>)
at getApiToken (/usr/lib/node_modules/verdaccio/build/lib/auth-utils.js:125:18)
at callbackAuthenticate (/usr/lib/node_modules/verdaccio/build/api/endpoint/api/user.js:42:56)
at /usr/lib/node_modules/verdaccio/build/lib/auth.js:133:18
at /usr/lib/node_modules/verdaccio/node_modules/verdaccio-htpasswd/build/htpasswd.js:122:14
The version should be updated to 6.0.2
, with shasum 9f785e6ecfc19cb36486d3c25f1c0af9d24736684d2da0811e2387974b988f04
Pinned Comments
sflor commented on 2019-03-04 11:00 (UTC) (edited on 2019-11-25 08:20 (UTC) by sflor)
To make it run properly, you might need to adjust the default config to your needs: