Can not install cli
Summary
What happened (current behavior)
No response
Expected behavior
No response
Reproduction steps
No response
Severity
None
Frequency
None
Happier version
No response
Platform
No response
Server version
No response
Deployment type
None
What changed recently?
No response
Diagnostics ID
No response
Additional context
No response
I have the same issue with the npm package, while with curl the script hangs before finishing. @leeroybrun is there a stable way to install the cli?
I found that the dev version works for me, maybe the name becomes hdev instead, see: https://github.com/happier-dev/happier#livin-on-the-edge-nightly-dev-builds
Maybe it's caused by GitHub API rate limiting if you have run the script a few times
Try to create a token at https://github.com/settings/tokens (classic token, no scopes needed for public repos) Then run:
export GITHUB_TOKEN=ghp_your_token_here
curl -fsSL https://happier.dev/install | bash
Hi @Godsing @ilteoood
Sorry for the late reply. The install script is the official installation method, npm will be fixed in next release but is unusable for now. Sorry for that...
If the install script hangs and/or return a 401, it's usually that you have a GITHUB_TOKEN in your shell env that is causing issues. I'll improve that to strip/unset GITHUB_TOKEN in the install script, but for now you should be able to bypass this by running:
unset GITHUB_TOKEN
curl -fsSL https://happier.dev/install | bash
Let me know if it works :)