I am trying to develop with Salesforce DX. There is a new problem since I restarted this project after a two-month break. Every variation of the auth:web:login command fails the same way. force:org:list also elicits the same error. My environment is Ubuntu 16.04 (Linux). What to do? Terminal session:
me@here:~/Projects/sfdx-simple$ sfdx force:auth:web:login
TypeError: ts_types_1.getString is not a function at AuthWebLoginCommand.catch (/usr/local/lib/sfdx/node_modules/salesforce-alm/dist/ToolbeltCommand.js:172:24) at AuthWebLoginCommand._run (/usr/local/lib/sfdx/node_modules/@salesforce/command/lib/sfdxCommand.js:95:29)
me@here:~/Projects/sfdx-simple$ sfdx -v sfdx-cli/7.8.1-8f830784cc linux-x64 node-v10.15.3
me@here:~/Projects/sfdx-simple$ node -v v10.15.3
me@here:~/Projects/sfdx-simple$ sfdx plugins --core @oclif/plugin-commands 1.2.2 (core) @oclif/plugin-help 2.1.6 (core) @oclif/plugin-not-found 1.2.2 (core) @oclif/plugin-plugins 1.7.8 (core) @oclif/plugin-update 1.3.9 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.0.2 (core) analytics 1.1.2 (core) generator 1.1.0 (core) salesforcedx 45.16.0 (core) ├─ force-language-services 45.12.0 (core) └─ salesforce-alm 45.18.0 (core)
sfdx-cli 7.8.1 (core)
me@here:~/Projects/sfdx-simple$ sfdx plugins no plugins installed
me@here:~/Projects/sfdx-simple$
sfdx update
followed bysfdx plugins:update
? This can often resolve most runtime issues.