MFA functionality works fine but awsprofile list gives following error
➜ ~ awsprofile list
TypeError: Cannot read property 'name' of undefined
at Object.exports.handler (/usr/local/lib/node_modules/awsprofile/_helpers/list.js:54:31)
at Object.<anonymous> (/usr/local/lib/node_modules/awsprofile/index.js:66:18)
at Module._compile (internal/modules/cjs/loader.js:1251:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1272:10)
at Module.load (internal/modules/cjs/loader.js:1100:32)
at Function.Module._load (internal/modules/cjs/loader.js:962:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
MFA functionality works fine but
awsprofile listgives following error