Skip to content

errors occurred due to bcript after setting up locally and hence it i… #1847

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

DebasishBarai
Copy link

πŸ”§ Fix bcrypt installation error by replacing with bcryptjs

PR Fixes:

  • βœ… Replaced bcrypt with bcryptjs to avoid native compilation issues during setup.
  • βœ… Updated all relevant imports and usage in the codebase.
  • βœ… Confirmed successful user authentication and registration after replacement.

Resolves:

No linked issue.


βœ… Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue

@geekyharsh05
Copy link
Contributor

@DebasishBarai IMO there will be backwards compatibility issue for the existing users!

@DebasishBarai
Copy link
Author

ig bcrypt and bcryptjs both functionality wise are the same the only difference being bcrypt is written in c and bcryptjs in pure js. There should not be any backward compatibily issue. here is the snapshot that i am getting with bcrypt.
Screenshot From 2025-06-10 10-16-09

@DebasishBarai
Copy link
Author

another thing that I noticed removing and re-adding bcrypt and @types/bcrypt makes it work. idk why??

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.

2 participants