deasync のインストール(ビルド)に失敗するときの対処方法

結論

node-gyp を入れる。

現象例

以下のような感じで npm / yarn で入れるときにエラーが出る場合です。

➤ YN0007: │ deasync@npm:0.1.21 must be built because it never has been before or the last one failed
➤ YN0009: │ deasync@npm:0.1.21 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-0c891e14/build.log)
➤ YN0000: └ Completed in 4s 514ms
Powered by はてなブログ