Categories
JavaScript Answers

How to fix bcrypt invalid elf header error when running Node app?

Spread the love

To fix bcrypt invalid elf header error when running Node app, we should use a bcrypt version that’s compatible with the OS the app is running.

To do this, we run

npm install bcrypt

to install bcrypt on the current operating system so that it’s built to run on the current OS.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *