Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: rollkit binary builds but doesn't work #523

Closed
jcstein opened this issue Dec 3, 2024 · 3 comments
Closed

bug: rollkit binary builds but doesn't work #523

jcstein opened this issue Dec 3, 2024 · 3 comments

Comments

@jcstein
Copy link
Member

jcstein commented Dec 3, 2024

It says it's successfully installed:

curl -sSL https://rollkit.dev/install.sh | sh -s v0.14.1
Downloading Rollkit source code...
Cloning into 'rollkit'...
remote: Enumerating objects: 12958, done.
remote: Counting objects: 100% (1255/1255), done.
remote: Compressing objects: 100% (795/795), done.
remote: Total 12958 (delta 783), reused 758 (delta 435), pack-reused 11703 (from 1)
Receiving objects: 100% (12958/12958), 52.08 MiB | 8.55 MiB/s, done.
Resolving deltas: 100% (8649/8649), done.
Note: switching to 'v0.14.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 5a8693e feat: enable mock servers with intercept command (#1911)
Building and installing Rollkit...
--> Installing Rollkit CLI
--> Rollkit CLI Installed!
    Check the version with: rollkit version
    Check the binary with: which rollkit
Installation completed successfully.

But the binary doesn't work:

$ rollkit version
zsh: killed     rollkit version
@MSevey
Copy link
Contributor

MSevey commented Dec 3, 2024

Discussed offline, appears to be a local issue, potentially a path conflict.
If there is new information please update the issue and we can investigate futher.

@MSevey MSevey closed this as completed Dec 3, 2024
@jcstein
Copy link
Member Author

jcstein commented Dec 3, 2024

the binary is at the correct location, so I don't think this is resolved

$ which rollkit
/Users/js/go/bin/rollkit

@jcstein
Copy link
Member Author

jcstein commented Dec 3, 2024

Culprit has to be that I was on go 1.21.5, it works if i build on 1.23.2

go version
go version go1.23.2 darwin/arm64
rollkit version

rollkit version:  v0.14.1
rollkit git sha:  5a8693e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants