macOSで、Node.jsをアップデートした後、モジュールをインストールすると、大抵SQLiteのコンパイルで失敗する。その対処方法のメモ。
npm cache clean --force
npm install sqlite3 --build-from-source --unsafe-perm
上記コマンドを実行したら直った。
参考) https://stackoverflow.com/questions/49190938/sqlite3-macos-sierra
More than 3 years have passed since last update.
macOSで、Node.jsをアップデートした後、モジュールをインストールすると、大抵SQLiteのコンパイルで失敗する。その対処方法のメモ。
npm cache clean --force
npm install sqlite3 --build-from-source --unsafe-perm
上記コマンドを実行したら直った。
参考) https://stackoverflow.com/questions/49190938/sqlite3-macos-sierra
Register as a new user and use Qiita more conveniently