You need to sign in to do that
Don't have an account?
javed786
salesforce DX : ERROR running force:mdapi:convert: This directory does not contain a valid Salesforce DX project.
Hello,
I am not able to convert the Metadata API Source after unzip the retrived source form Dev Hub
here is command
sfdx force:mdapi:convert -r /source directory
I am not able to convert the Metadata API Source after unzip the retrived source form Dev Hub
here is command
sfdx force:mdapi:convert -r /source directory
Go to the go to the project directory and run the below command.
sfdx force:mdapi:convert -r mdapipackage/
All Answers
Go to the go to the project directory and run the below command.
sfdx force:mdapi:convert -r mdapipackage/
Mostly it occurs if the Project is not created properly.
So, again create a new project using below
>>sfdx force:project:create -n myproject
>>CD myproject
then create a directory to retrieve the components from your org
>>mkdir temp
>>sfdx force:mdapi:retrieve -s -r ./temp -u mydevorg -p mypackage
then unzip the file and convert
>>sfdx force:mdapi:convert -r ./temp
ERROR running force:mdapi:convert: An error was encountered processing path: C:\Users\Drobe\OneDrive\Desktop\Projects\BearApp\temp\BearApp\lwc\helloWebComponent\helloWebComponent.html
Hello, the same trouble.
ERROR running force:mdapi:convert: An error was encountered processing path: /Users/enway8/Documents/Salesforce/Converter/temp/lwc/headerTitleWithDescription/headerTitleWithDescription.html