macOSで、Node.jsをアップデートした後、モジュールをインストールすると、大抵SQLiteのコンパイルで失敗する。その対処方法のメモ。
npm cache clean --force
npm install sqlite3 --build-from-source --unsafe-perm
上記コマンドを実行したら直った。
参考) https://stackoverflow.com/questions/49190938/sqlite3-macos-sierra
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 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
Go to list of users who liked