Failing to deploy with bcrypt npm package
Hey, I'm deploying my project on coolify with docker and it doesn't work with bcrypt.
I get that warning:
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:bcrypt@5.1.1
┃
┠─ This may cause the packages to not work correctly.
┖─ To run lifecycle scripts, use the
--allow-scripts flag with
deno install:
deno install --allow-scripts=npm:bcrypt@5.1.1
so I added --allow-scripts to install comand in Dockerfile, but now it drops an error from attached screenshot.
What can I do?2 Replies