question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to create new project with the '--template standard' flag

See original GitHub issue

Summary

The force:project:create command fails when I attempt to use the --template standard flag

Steps To Reproduce:

  1. Run the command sfdx force:project:create -n myProject --template standard

Expected result

A project is created with the new project scaffold described in the v. 45.3.1 release notes

Actual result

No project is created and the following error is returned:

‘ERR_ASSERTION’: Trying to copy from a source that does not exist: /Users/walkej/.local/share/sfdx/client/node_modules/force-language-services/dist/project/templates/.gitignore

Additional information

SFDX CLI Version: sfdx-cli/6.54.4-c01dcc69db (darwin-x64) node-v8.9.4

SFDX plugin Version: 45.3.4

OS and version: macOS 10.13.6 (17G5019)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vkvikashkr47commented, Dec 5, 2019

Well I had uninstalled and installing again in the default directory

1reaction
ntottencommented, Feb 25, 2019

Thanks for reporting. It looks like the .gitignore file isn’t in the bundle because NPM automatically ignores those files. We will get this fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to create new project using template created with the ...
I can successfully create the project template and import it into VS using the Export Wizard. When I then try to use the...
Read more >
Configure a Project Template - Procore Support
To configure an existing project as a project template so it can be applied when creating new projects in your company's Procore account....
Read more >
Manage projects - GitLab Docs
On the right of the page, select New project. Select Create from template. Select the Instance or Group tab. From the list of...
Read more >
Flutter: How to create a new project - Stack Overflow
I think a better way is to create Flutter project by command line flutter create --org com.yourdomain your_app_name.
Read more >
dotnet new <TEMPLATE> - .NET CLI - Microsoft Learn
The dotnet new command creates a .NET project or other artifacts based on a template. The command calls the template engine to create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found