forcedotcom/salesforcedx-templates

Error when creating a project

Opened this issue · 1 comments

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

@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?