Skip to content

docs: Add troubleshooting Help for M1 Macs#140

Open
rieger-jared wants to merge 1 commit into
LunarVim:masterfrom
rieger-jared:add-troubleshooting-info-about-m1-mac
Open

docs: Add troubleshooting Help for M1 Macs#140
rieger-jared wants to merge 1 commit into
LunarVim:masterfrom
rieger-jared:add-troubleshooting-info-about-m1-mac

Conversation

@rieger-jared

@rieger-jared rieger-jared commented Dec 2, 2021

Copy link
Copy Markdown

This PR address the issue raised in this issue LunarVim/LunarVim#809

@kylo252 kylo252 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of the page, so let's make some group effort to get all the correct information in it.

Comment on lines +86 to +89
Lunarvim does not support M1 mac natively. This can be fixed by installing
homebrew and neovim through the x86_64 architecture platfomr location
`/usr/local`. Doing so will run neovim and homebrew through the x86_64
architecture. This only works provided you have Rosetta installed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just got it confirmed on discord that you can have a native mac-o installation of Neovim through macports, so this not completely accurate.

Suggested change
Lunarvim does not support M1 mac natively. This can be fixed by installing
homebrew and neovim through the x86_64 architecture platfomr location
`/usr/local`. Doing so will run neovim and homebrew through the x86_64
architecture. This only works provided you have Rosetta installed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, do you mind detailing here how those individuals did that? I tried mostly everything I could to install brew and neovim and its dependencies through /opt/homebrew but it always led to the issue linked above.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just used macports which installed neovim as a native M1 application without any tweaks.

@Z3rio Z3rio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest these changes. Otherwise it looks good to me.
No idea if it works though since I dont have a mac and therefore cant test it.

```

Lunarvim does not support M1 mac natively. This can be fixed by installing
homebrew and neovim through the x86_64 architecture platfomr location

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homebrew and neovim through the x86_64 architecture platfomr location
homebrew and neovim through the x86_64 architecture platform location

Fix typo

vim.list_extend(lvim.lsp.override, { "jsonls" })
```

## Running LunarVim on M1 mac reports error `mach-o, but wrong architecture`

@Z3rio Z3rio Nov 10, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Running LunarVim on M1 mac reports error `mach-o, but wrong architecture`
## Errors with `mach-o` on startup

Sounds better considering the headers of the other troubleshoot helps

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 this pull request may close these issues.

4 participants