totaljs / framework4

Total.js framework v4
https://www.totaljs.com
Other
99 stars 36 forks source link

[BUG] Using "total4 create {template}" on Windows without git installed will fail but command's output suggests otherwise #35

Closed a50397 closed 2 years ago

a50397 commented 2 years ago

Describe the bug On Windows 10, the CLI "total4 create {template}" command will silently fail if the git command is not available. The command will output: "Template {template} was created successfully" and the output directory will be empty except for the node_packages subdirectory.

To Reproduce Use total4 create on a Windows system without the git command installed.

Expected behaviour Warn the user about git not being available.

Must gather (please complete the following information):