LoginSignup
3
1

More than 5 years have passed since last update.

OniVimが「Uh oh! Unable to launch Neovim」と表示されるとき

Posted at

前提条件

console
% sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.2
BuildVersion:   18C54

% brew --version
Homebrew 1.8.6
Homebrew/homebrew-core (git revision 91f9; last commit 2019-01-08)
Homebrew/homebrew-cask (git revision 366f9; last commit 2019-01-07)

% vim --version
NVIM v0.3.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20190105-188-1grgj0y/neovim-0.3.3/build/config -I/tmp/neovim-20190105-188-1grgj0y/neovim-0.3.3/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/tmp/neovim-20190105-188-1grgj0y/neovim-0.3.3/build/src/nvim/auto -I/tmp/neovim-20190105-188-1grgj0y/neovim-0.3.3/build/include
Compiled by brew@Mojave.local

Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

      システム vimrc: "$VIM/sysinit.vim"
       省略時の $VIM: "/usr/local/Cellar/neovim/0.3.3/share/nvim"

Run :checkhealth for more info

Oniのバージョンは0.3.6

現象

Onivimを起動すると、Neovimがインストールされてないなどと言われる。
https://github.com/onivim/oni/issues/2662

実行してもCmd+Qで終了できなかったりする。

解決方法

一度Oniを落として、コマンドラインから実行する。

console
% open /Applications/Oni.app

これで起動するとタイトルのような警告は出なくなる。
次回以降はランチャーから起動しても問題なく開く。
PATHとか関係あるのかな?

雑感

原因がいまいち不明。
公式でも似たIssueがあり、それにはconfig.tsxをいじるらしいが、特に変わらなかった。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1