Skip to main content

During the trailhead module : Quick Start: Unlocked Packages > Create, Test, and Deploy Your Unlocked Package.

 

I keep getting an error at step 3 "Go ahead and create your scratch org. sfdx force:org:create -s -f config/project-scratch-def.json".

 

when I run this, "C:\Users\hares\Desktop\GIFter\my_gifter_project\GIFter>sfdx force:org:create -s -f config/project-scratch-def.json"-

 

I get the error message:

 

"ERROR running force:org:create: An error occurred parsing "config/project-scratch-def.json"

I tried creating a support ticket and was told to post it here after the support person was not able to help.

 

Let me know what I am missing.
7 answers
  1. Mar 11, 2021, 8:49 PM
    Your're welcome, we all face these challenges sometimes. Please use VSCode or another text editor to find the project-scratch-def.json file from within the project you created. The file is located in the /config subdirectory of the project. Within this file the closing curly bracket had to be inserted at the end to solve the problem for me. Please let us know, if you could solve it, too.
0/9000