node.bcrypt.js icon indicating copy to clipboard operation
node.bcrypt.js copied to clipboard

While trying to resolve module `crypto`

Open mantegnous opened this issue 2 years ago • 1 comments

im on node 20.9.0

i installed last version of bcrypt but dosent work, it says that not find crypto, that is a deprecated dependency, i install as required, but without success

Error: While trying to resolve module crypto from file /Users/user/Desktop/proj/myproj/node_modules/bcrypt/bcrypt.js, the package Users/user/Desktop/proj/myproj/node_modules/crypto/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Users/user/Desktop/proj/myproj/node_modules/crypto/index.js. Indeed, none of these files exist:

mantegnous avatar Nov 13 '23 09:11 mantegnous

Facing kinda same issue but a different module:

image

NazmusSayad avatar Dec 04 '23 12:12 NazmusSayad