michałM
Deno15mo ago
2 replies
michał

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?
C9B928A5-0195-49AC-B9F6-53E758B1BEB0.png
51A34100-D2E6-4AA0-A48F-4B3E69920B7B.png
Was this page helpful?