Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating a project #512

Open
bdJohnson72 opened this issue Oct 1, 2022 · 1 comment
Open

Error when creating a project #512

bdJohnson72 opened this issue Oct 1, 2022 · 1 comment

Comments

@bdJohnson72
Copy link

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

@cristiand391 cristiand391 transferred this issue from forcedotcom/cli Oct 3, 2022
@randi274
Copy link
Contributor

randi274 commented Oct 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants