Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

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

Open
DebasishBarai wants to merge 1 commit intocode100x:main from
DebasishBarai:fix/bcrypt-error-at-setup-by-replacing-with-bcryptjs
Open

errors occurred due to bcript after setting up locally and hence it i... #1847
DebasishBarai wants to merge 1 commit intocode100x:main from
DebasishBarai:fix/bcrypt-error-at-setup-by-replacing-with-bcryptjs

Conversation

@DebasishBarai
Copy link

@DebasishBarai DebasishBarai commented Jun 9, 2025

🔧 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

Copy link
Contributor

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

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

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /