0

Suddenly started getting below error in my VS code while deploying components.

Error: Parse error in file C:\Users\cccccr.sfdx\stash.json on line 1 FILE HAS NO CONTENT

2

This issue can be seen when the sfdx-project.json file contains incorrect definition.

Ensuring that the sfdx-project.json is correct, for example:

{
"packageDirectories": [
    {"path": "force-app","default": true}
  ],
"namespace": "",
"sourceApiVersion": "42.0"
}

resolved this issue.

| improve this answer | |
  • 3
    Are "SFKID" and "peter" the same person? – Phil W Jan 8 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.