npm-cli-login
npm-cli-login copied to clipboard
certificate has expired
node 18.17.1
npm-cli-login -u test -p test-e [email protected] -r https://npm.test.net:1234
info attempt registry request try #1 at 오후 2:18:39
http request PUT https://npm.test.net:1234/-/user/org.couchdb.user:test
info retry will retry, error on last attempt: Error: certificate has expired
how to fix ....?
I tried..
npm config set strict-ssl false
I want it to be distributed with a single command.
"deploy": "rollup -c && npm run ssl-false && npm run login && npm run publish"
node_modules\npm-registry-client\index.js
I found this code.
this.config.ssl = this.config.ssl || {}
if (this.config.ssl.strict === undefined) this.config.ssl.strict = true
how to change this value ?