Bug report: HubSpot CLI hangs after `Completed project fetch` during project creation on Windows
**Summary** On Windows, \`hs project create\` hangs after the repository/template fetch completes and during the local project creation step.This happens for both:
- `--project-base app`
- `--project-base empty`
Because the same hang occurs for an empty project, the issue does not appear to be related to optional app features.
**Environment** \- OS: Windows \- Shell: PowerShell \- Node.js: \`v24.16.0\` \- npm: \`11.16.0\` \- HubSpot CLI: \`8.8.0\`Account / auth observations
- CLI authentication appears to be working.
- `localdevauth/v1/auth/enabled-features` returns `200` successfully.
- The debug logs show feature lookup succeeding before the hang.
Reproduction 1: interactive app project creation
Powershell command
hs project create --debug
Interactive selections
- Project name: `MyProject`
- Destination: `C:\Users\MyUser\source\repos\HubSpot`
- Project base: `App`
- Distribution: `Privately`
- Auth: `OAuth`
- Features: none selected
Debug output near failure
[DEBUG] {method: ‘get’,baseURL: ‘https://api.hubapi.com’,url: ‘localdevauth/v1/auth/enabled-features’,
status: 200
[DEBUG] Fetching repository with name HubSpot/hubspot-project-components…
[DEBUG] Completed project fetch.ent]
_ Adding feature(s) to app [MyProject]
Actual result
The command hangs indefinitely at:
Adding feature(s) to app [MyProject]
Expected result
The CLI should finish scaffolding the app project locally and return control to the terminal.
Reproduction 2: non-interactive empty project creation
Powershell command
hs project create --name MyProject-empty --dest “C:\Users\MyUser\source\repos\HubSpot” --project-base empty --debug
Debug output near failure
[DEBUG] {
method: ‘get’,
baseURL: ‘https://api.hubapi.com’,
url: ‘localdevauth/v1/auth/enabled-features’,
status: 200
[DEBUG] Fetching repository with name HubSpot/hubspot-project-components…
[DEBUG] Completed project fetch.t-empty]
- Creating empty project [MyProject-empty]
Actual result
The command hangs indefinitely at:
Creating empty project [MyProject-empty]
Expected result
The CLI should create the empty project locally and exit successfully.
Why this seems important
This appears to narrow the problem to the post-fetch local scaffolding / write step rather than:
- auth
- feature entitlement lookup
- optional feature selection
- repository fetch/download
Because the same issue occurs with `--project-base empty`, it looks like the shared local project creation path is stalling.
Additional notes
- The issue reproduces on Windows in PowerShell.
- Since the process gets past the `enabled-features` request and completes the repository fetch, this does not look like a simple network/auth failure.
- Since `empty` also hangs, this does not seem specific to app feature addition.
Requested help
Please confirm whether this is a known regression in HubSpot CLI `8.8.0` on Windows, and whether there is:
- a workaround,
- a patched version available,
- or an additional debug flag / log location that would capture what happens in the local project creation step after template fetch.