Skip to content

Instantly share code, notes, and snippets.

@jfsiii
Created October 4, 2017 15:49
Show Gist options
  • Save jfsiii/6311b4e6c8e7053620325fcb13cd3a3c to your computer and use it in GitHub Desktop.
Save jfsiii/6311b4e6c8e7053620325fcb13cd3a3c to your computer and use it in GitHub Desktop.
Log from `npm profile enable-tfa auth-and-writes` failure
0 info it worked if it ends with ok
1 verbose cli [ '/Users/jfsiii/.nvm/versions/node/v8.4.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'profile',
1 verbose cli 'enable-tfa',
1 verbose cli 'auth-and-writes' ]
2 info using npm@5.5.0
3 info using node@v8.4.0
4 notice profile Enabling two factor authentication for auth-and-writes
5 info profile Determine if tfa is pending
6 info profile Setting two factor authentication to auth-and-writes
7 info profile Finalizing two factor authentication
8 verbose stack Error: Bad Request
8 verbose stack at fetch.defaults.then.then.result (/usr/local/lib/node_modules/npm/node_modules/npm-profile/index.js:203:19)
8 verbose stack at <anonymous>
8 verbose stack at process._tickCallback (internal/process/next_tick.js:188:7)
9 verbose cwd /Users/jfsiii/work/stae-product
10 verbose Darwin 16.7.0
11 verbose argv "/Users/jfsiii/.nvm/versions/node/v8.4.0/bin/node" "/usr/local/bin/npm" "profile" "enable-tfa" "auth-and-writes"
12 verbose node v8.4.0
13 verbose npm v5.5.0
14 error code E400
15 error Bad Request
16 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment