Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I'm trying to use preact create default new-project behind a corporate proxy and it give me this:
ℹ INFO Assuming you meant preactjs-templates/default...
✖ ERROR connect ECONNREFUSED 192.30.253.113:443
What is the expected behavior?
It should create the app.
Please mention other relevant information.
It think that the problem comes from gittar, there is no way to configure the proxy to fetch the git template.
The only way to make it work is to use another connection without proxy.
@Dylanderv well, the v2 of preact-cli is using templates to generate the project structure so it is more flexible https://github.com/preactjs-templates therefore having no access to it will cause that issue.
Do you have no access to github from your corporate proxy ?
What you could do:
It might be worth us providing a way to specify a local template folder. @lukeed - think that'd be useful?
Most helpful comment
It might be worth us providing a way to specify a local template folder. @lukeed - think that'd be useful?