Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/StackSalesforce/status/1117669032847642624
added 327 characters in body
Source Link
PatMcClellan__c
  • 3.7k
  • 6
  • 37
  • 85

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?

Here's the sfdx-project.json:

 {  
      "packageDirectories": [
        {
          "path": "force-app",
          "default": true
        }
      ],
      "namespace": "",
      "sfdcLoginUrl": "https://login.salesforce.com",
      "sourceApiVersion": "42.0"
}

I tried specifying the path as well:

    patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -r force-app -d mdapioutput/

ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?

Here's the sfdx-project.json:

 {  
      "packageDirectories": [
        {
          "path": "force-app",
          "default": true
        }
      ],
      "namespace": "",
      "sfdcLoginUrl": "https://login.salesforce.com",
      "sourceApiVersion": "42.0"
}

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?

Here's the sfdx-project.json:

 {  
      "packageDirectories": [
        {
          "path": "force-app",
          "default": true
        }
      ],
      "namespace": "",
      "sfdcLoginUrl": "https://login.salesforce.com",
      "sourceApiVersion": "42.0"
}

I tried specifying the path as well:

    patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -r force-app -d mdapioutput/

ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined
added 327 characters in body
Source Link
PatMcClellan__c
  • 3.7k
  • 6
  • 37
  • 85

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?

Here's the sfdx-project.json:

 {  
      "packageDirectories": [
        {
          "path": "force-app",
          "default": true
        }
      ],
      "namespace": "",
      "sfdcLoginUrl": "https://login.salesforce.com",
      "sourceApiVersion": "42.0"
}

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?

Here's the sfdx-project.json:

 {  
      "packageDirectories": [
        {
          "path": "force-app",
          "default": true
        }
      ],
      "namespace": "",
      "sfdcLoginUrl": "https://login.salesforce.com",
      "sourceApiVersion": "42.0"
}
Source Link
PatMcClellan__c
  • 3.7k
  • 6
  • 37
  • 85

Unusual error when I try to sfdx force:source:convert

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error.

VS Code, latest version; sfdx extensions, latest versions.

I want to convert my source to mdapi, then deploy to my patch org. I create the directory: mkdir mdapioutput

Then I put in the convert command: sfdx force:source:convert -d mdapioutput/

Instead of converting, it gives this error:

patmcclellan: /Users/patmcclellan/Documents/GitHub/protontext-repo git:(master) 
-> sfdx force:source:convert -d mdapioutput/ 
ERROR running force:source:convert:  The "path" argument must be of type string. Received type undefined

Can't figure out what I'm doing wrong. Any ideas?