LoginSignup
0
1

More than 3 years have passed since last update.

internal/modules/cjs/loader.js:1197(bcrypt Error)

Posted at

開発環境から本番環境に移行した時

npm startをすると

internal/modules/cjs/loader.js:1197
  return process.dlopen(module, path.toNamespacedPath(filename));

というエラーを吐きやがった.

これはbcryptのnpmのversionとかの問題らしい.

解決策はこれ一択

npm rebuild bcrypt --build-from-source

参考

0
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
0
1