-
Notifications
You must be signed in to change notification settings - Fork 0
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
DevcontainerUp fails with exec format error #9
Comments
The error message you encountered, "./nvim.appimage: Exec format error," typically indicates that the executable file is not compatible with the architecture of your system (M2 ARM). In your case, the issue is likely arising from running the command in a Docker image for Ubuntu 20.04 on a macOS machine with an M2 chip. So the way how the current plugin installs NVIM inside the Docker container here, is not compatible with the architecture of your host. In order to fix that, the way nvim is installed in the Docker container (based on ubuntu 20.04) needs to be adapted to your architecture. I'm currently aware of this problem and there is an enhancement created already: #5 So closing this issue in favor of #5. In fact, I'm currently working on that, we can continue the discussion in the other issue @stickperson |
It looks like currently there are no nvim.appimage built for arm / aarch64 architecture |
The PR has been merged @stickperson , can you check if it works now in your machine? There can still be issues as I do not have access to a mac with m2 arm architecture. |
There's an issue with |
With this PR #11 I'm fixing the problem from Also the Both PRs have been merged. |
Hi @stickperson the However this is definitely far from ideal. In order to make The problem is here, where the command open -a iTerm.app will open a new terminal and try to run this script I'm not familiar on MacOS but for fixing that looks like an applescript could do the work for us, it would be great if you can try it out! tell application "iTerm"
activate
if exists window 1 then
set currentDir to (quoted form of (get target of current session of window 1 as string))
else
set currentDir to ""
end if
set newWindow to (create window with default profile)
tell newWindow
tell current session
write text "cd " & currentDir
write text "${SCRIPT_DIR}"/open_shell_in_devcontainer.sh
end tell
end tell
end tell Save this script in |
Neovim version: v0.9.1
OS: macOS Venture (M2 chip)
Error: I see the following error when running
DevcontainerUp
Steps to reproduce: Clone this repo, cd into the root, open neovim and run
DevcontainerUp
The text was updated successfully, but these errors were encountered: