LoginSignup
4
1

More than 5 years have passed since last update.

[nodejs] bcryptのインストールでエラー

Posted at

暗号化ライブラリのbcryptをインストールしようとしたらエラーになったのでメモ

  • node v9.4.0
  • yarn 1.3.2

原因はよくわからないけどnode-gypをグローバルインストールして、環境変数PYTHONにパスを設定したらうまくいきました。

yarn global add node-gyp
PYTHON=$(which python) yarn add bcrypt
4
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
4
1