I am having so much trouble getting the HubSpot CLI to work on my work machine. At first I got the error that hs.ps1 was not signed. I’ve been able to work around that by using either “npx hs” or “powershell.exe -executionpolicy bypass -File C:\Users\…\AppData\Roaming\npm\hs.ps1”.
When trying to execute hs init (using either of the above methods), I was getting an extended axios error which boiled down to self-signed-cert-in-chain. From the error message, it appeared to be trying to reach https://api.hubapi.com/content/filemapper/v1/cms-cli-usage, so I navigated to that site in the browser, downloaded the cert, installed the cert.
Now I get this super helpful error when attempting “hs init”: [ERROR] The request failed.
Any suggestions? My initial thought was it was VPN related, but it’s very hard to tell.