TransWikia.com

SFDX CLI is not working for any commands

Salesforce Asked by Ysr Shk on December 22, 2021

SFDX suddenly stopped working for any commands. I updated sfdx and its plugins, still its giving same error. I am using same from VS Code, I created scratch org and performed few activities, and after some time it is giving me below error. Tried with packaging commands, VS Code extensions, nothing seems to be working fine.

sfdx force:org:open -u Alias
(node:85908) UnexpectedValueTypeError Plugin: sfdx-cli: Value is not defined
module: @oclif/[email protected]
task: runHook prerun
plugin: sfdx-cli
root: C:UsersUserNameAppDataLocalsfdxclient7.66.2-4f159a1d07
See more details with DEBUG=*
ERROR running force:org:open:  Value is not defined

SFDX cli version

sfdx-cli/7.66.2-4f159a1d07 win32-x64 node-v12.13.0

One Answer

This was happened because, sfdx-config.json was corrupted(with wrong values).

Ref - https://github.com/forcedotcom/cli/issues/516

Answered by Ysr Shk on December 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP