function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Katharine Anderson 13Katharine Anderson 13 

Error creating project in VS Code

I keep getting the following error when trying to create a project in VS Code:
13:14:38.625 sfdx force:project:create --projectname VSCodeTest4 --outputdir c:\Users\katharine.anderson\Desktop --template standard
ERROR running force:project:create:  this.sourceRoot is not a function
Any ideas? I tried completely uninstalling and reinstalling both the Salesforce Extension Pack and VS Code. My SFDX CLI is up to date, and so is Java, and I have no plugins. 

Thanks,
Katharine
Best Answer chosen by Katharine Anderson 13
Katharine Anderson 13Katharine Anderson 13
Update: Uninstalling and reinstalling the CLI fixed this issue.