forcedotcom / salesforcedx-templates

Salesforce Templates Node Library
BSD 3-Clause "New" or "Revised" License
79 stars 57 forks source link

Error when creating a project #512

Open bdJohnson72 opened 2 years ago

bdJohnson72 commented 2 years ago

I am on a Windows machine and started getting errors when I try and create a project.

When I run sfdx force:project:create

I started getting the error:

Trying to copy from a source that does not exist: C:\Program Files (x86)\sfdx\client\node_modules\@salesforce\templates\lib\templates\project\standard\ScratchDef.json That file is certainly there and everything else seems to be working as expected. Any thoughts on what might have caused this before I open an issue on Git Hub?

sfdx version returns

sfdx-cli/7.170.0 win32-x86 node-v16.17.0

randi274 commented 2 years ago

@bdJohnson72 are you currently trying to work with the Custom Templates feature? If not, when you run the command sfdx config:list are you seeing that customOrgMetadataTemplates or SFDX_CUSTOM_ORG_METADATA_TEMPLATES is set?