Skip to content

fix: use bcryptjs instead of bcrypt to avoid native module errors on … #1040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bee4boop
Copy link

This PR replaces the bcrypt package with bcryptjs to fix build errors on Vercel caused by missing native bindings.

Changes:

  • Removed bcrypt, added bcryptjs
  • Updated import in app/seed/route.ts
  • Updated pnpm-lock.yaml accordingly

Copy link

vercel bot commented Apr 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-learn-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 7:44pm
next-seo-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 7:44pm

Copy link

vercel bot commented Apr 15, 2025

@bee4boop is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedbcryptjs@​3.0.21001001009090

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant