Fix yarn install error on script

This commit is contained in:
KMY 2023-09-17 22:24:36 +09:00
parent 7744b2a1ce
commit 37664ef3eb
2 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,10 @@ apt install -y \
corepack enable
yarn set version classic
# Mastodonパッケージにもnode-gypは入ってるけど、npmのほうからグローバルにインストールしないと
# yarn installで一部のOptionalパッケージインストール時にエラーが出てしまう様子
npm i -g node-gyp
# mastodonユーザーを追加
adduser --disabled-login mastodon