Closed thesmart closed 3 weeks ago
import bcrypt from 'https://esm.sh/bcrypt@5.0.1';
After running deno run I got this:
deno run
error: Import 'https://esm.sh/v135/@mapbox/node-pre-gyp@1.0.11/denonext/node-pre-gyp.mjs' failed: 500 Internal Server Error at https://esm.sh/bcrypt@5.0.1:2:8
A workaround for anyone viewing this is to use bcryptjs instead.
bcryptjs
node native module doesn't work in deno via http import, please use npm:bcrypt instead
npm:bcrypt
Failing module
Error message
After running
deno run
I got this:Additional info