Quantcast
Channel: npm forum - Topics tagged triaged
Viewing all articles
Browse latest Browse all 30

npm token create doesn't work in 6.6.0 - 6.9.0

$
0
0

@iarna wrote:

This is reproducible with current HEAD:

🕝 rebecca@Tarta:~/code/npm$ [release-next] / [v6.9.0-2-gd07547154e] node . token create
npm password: 
This command requires a one-time password (OTP) from your authenticator app.
Enter one below. You can also pass one on the command line by appending --otp=123456.
For more information, see:
https://docs.npmjs.com/getting-started/using-two-factor-authentication
Enter OTP: 234751
npm ERR! code EBADKEY
npm ERR! invalid config key requested: auth

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/rebecca/.npm/_logs/2019-03-19T21_36_51_595Z-debug.log

and backtrace from the log

8 verbose stack Error: invalid config key requested: auth
8 verbose stack     at BadKeyError (/Users/rebecca/code/npm/node_modules/figgy-pudding/index.js:93:23)
8 verbose stack     at pudGet (/Users/rebecca/code/npm/node_modules/figgy-pudding/index.js:101:5)
8 verbose stack     at FiggyPudding.get (/Users/rebecca/code/npm/node_modules/figgy-pudding/index.js:27:12)
8 verbose stack     at Object.get (/Users/rebecca/code/npm/node_modules/figgy-pudding/index.js:159:16)
8 verbose stack     at readUserInfo.otp.then (/Users/rebecca/code/npm/lib/token.js:220:14)
8 verbose stack     at tryCatcher (/Users/rebecca/code/npm/node_modules/bluebird/js/release/util.js:16:23)
8 verbose stack     at Promise._settlePromiseFromHandler (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:512:31)
8 verbose stack     at Promise._settlePromise (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:569:18)
8 verbose stack     at Promise._settlePromise0 (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:614:10)
8 verbose stack     at Promise._settlePromises (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:694:18)
8 verbose stack     at Promise._fulfill (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:638:18)
8 verbose stack     at Promise._resolveCallback (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:432:57)
8 verbose stack     at Promise._settlePromiseFromHandler (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:524:17)
8 verbose stack     at Promise._settlePromise (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:569:18)
8 verbose stack     at Promise._settlePromise0 (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:614:10)
8 verbose stack     at Promise._settlePromises (/Users/rebecca/code/npm/node_modules/bluebird/js/release/promise.js:694:18)

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 30

Trending Articles