Problem when used with AppImage #3537
Unanswered
vinismarques
asked this question in
Troubleshooting
Replies: 2 comments
-
I have the same problem, can't activate mise in integrated terminal of Cursor editor (AppImage) and ZSH. mise ERROR cursor-0.42.5x86_64_3aad2fcb25d24d988a41f8c6ac0bc2f1.AppImage is not a valid shim
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information It is working for bash only though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I ended up extracting the Cursor AppImage and run Cursor from there. No more error when using mise, just like in the vscode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I am using Cursor.AI (VSCode-based) to develop and mise does not work when my shell is Zsh.
To Reproduce
eval "$(mise activate zsh)"
on the zshrc fileExpected behavior
Shell should be set to the correct node version.
mise doctor
outputAdditional context
I posted about it in #921, but since that was closed before I commented, I figured I should open a new one.
Things I tried (Zsh):
eval "$(mise activate zsh)"
on the zshrc file: when starting a new integrated terminal on Cursor, it opens two new unsaved tabs/files in the current window called "activate", and "zsh".eval "$(mise activate --shims)"
: when starting a new integrated terminal on Cursor, it opens one new unsaved tab/file called "activate" in the current window and prints "Warning: 'shims' is not in the list of known options, but still passed to Electron/Chromium." to the terminal.export PATH="$HOME/.local/share/mise/shims:$PATH"
: does not open any weird tabs when starting a new integrated terminal, nor outputs any error/warning message to the terminal, but when I try something likenode -v
it opens a new Cursor window, instead of printing the version.mise doctor
on the integrated terminal: opens unsaved file called "doctor".mise one two three
on the integrated terminal: will open unsaved files called "one", "two", and "three" in the current window.mise
on the integrated terminal: opens a new IDE window.On Bash, it seems to work fine with all methods...
eval "$(mise activate bash)"
,eval "$(mise activate --shims)"
andexport PATH="$HOME/.local/share/mise/shims:$PATH"
. It prints the node version as expected when usingnode -v
and does not open any weird tab or window.I also have VSCode (non-AppImage), which Cursor is based on and it works with Zsh, so it seems something weird is going on only when using Zsh+AppImage.
Beta Was this translation helpful? Give feedback.
All reactions