It seems you are using the compact layout label u need to use the API Name
sfdx force:source:retrieve -m CompactLayout:Account.Mobile_Account_Layout
Note: the format for source: retrieve is objectAPI.compactLayoutAPI
I just updated the salesforce extensions to v50.2.0 and the issue has been resolved.
I have the same error, I believe after I updated Visual Studio or
Salesforce Cli I was able to retrieve the code by typing this command
on the terminal:
sfdx force:source:retrieve -m [MetadataType]
sfdx force:source:retrieve -m ApexClass
You can rename an unlocked package with the following command:
sfdx force:package:update -p package-alias -n new-package-name
Full reference: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_package.htm
sfdx force:project:create -n ProjectName --manifest
Right click on package.xml and click "SFDX: Retrieve Source...". You can download some resource.
I have same error like this after I Re install my windows system and vscode