Thanks for reporting a new issue with the node bcrypt module!
To help you resolve your issue faster please make sure you have done the following:
Searched existing issues (even closed ones) for your same problem
Make sure you have installed the required dependencies listed on the readme
Read your npm error log for lines telling you what failed, usually it is a problem with not having the correct dependencies installed to build the native module
Once you have done the above and are still confident that the issue is with the module, please describe it below. Some things that really help get your issue resolved faster are:
What went wrong?
webpack build bcrypt.js into a single file(eg: main.js) and run node main.js, bcrypt will require my package.json to fill the binary field, it is so wired?
What did you expect to happen?
the output file can be run successfully
Which version of nodejs and OS?
node v18,
MacOs: Ventura
If you find a bug, please write a failing test.
Thanks!
P.S. If it doesn't look like you read the above then your issue will likely be closed without further explanation. Sorry, but there are just too many issues opened with no useful information or questions which have been previously addressed.
Thanks for reporting a new issue with the node bcrypt module!
To help you resolve your issue faster please make sure you have done the following:
Once you have done the above and are still confident that the issue is with the module, please describe it below. Some things that really help get your issue resolved faster are:
webpack build bcrypt.js into a single file(eg:
main.js
) and runnode main.js
, bcrypt will require my package.json to fill thebinary
field, it is so wired?node v18, MacOs: Ventura
Thanks!
P.S. If it doesn't look like you read the above then your issue will likely be closed without further explanation. Sorry, but there are just too many issues opened with no useful information or questions which have been previously addressed.