1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

mason.nvimのインストールエラーについて

Last updated at Posted at 2023-08-14

UnstableのNeoVimでmason.nvimのインストール中にエラーが発生しました。NeoVimのビルド版で回避しました。

スクリーンショット 2023-08-14 11.11.26.png
checkhealthの結果
スクリーンショット 2023-08-14 16.52.37.png

..mason-core/log.lua:141: bad argument #2 to 'format' (string expected, got table)

エラーの箇所(log.lua:141)について特に問題はなさそう。

NeoVimは最新版に近づけるために、PPAに登録されたパッケージをインストールしました。(MacでUbuntuコンテナを利用したため、AArch64-Ubuntu向けPPAからunstable版をインストールする必要があった)
はじめはmason.nvimの問題だと思っていましたが、冒頭の通りNeoVimのビルド&インストール版にすることで回避できることが分かりました。ビルドの場合にはv0.9.1v0.10.0-devのどちらでもエラーは起きていません。
PPAの場合にはLua周りの設定が必要で漏れていたのかも知れませんが、とりあえずビルド版で様子を見たいと思います。(夏休みだし原因調査までしたいけど難しいかな)

スクリーンショット 2023-08-14 17.38.33.png

checkhealthの結果
スクリーンショット 2023-08-14 17.40.02.png

環境

MacBook Air (M1)
OS: Ventura 13.4
OS(Container): Ubuntu 22.04
mason.nvim: v1.6.2
NeoVim:
PPA 0.10.0~ubuntu1+git202308131603-017ff93b0-9b397864c-cb076f922~ubuntu22.04.1
Build 6d93bdd458a03bd07b1797e43bb11e3be560d340

1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?