I keep on getting this error I've done some research and I've not found any solution anyone please help

Error: /opt/render/project/src/backend/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header


I’ve replied to the ticket you also opened. Let’s keep the conversation in one place (on the ticket).

This error is occurs when you commit you node_modules folder that what created on a different OS.

It’s not recommended to commit node_modules into your repo, so that the package manager (npm, yarn, etc.) can determine the correct packages for the platform.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.