Skip to content
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

Bcrypt Error using Visual Studio 2022 #161

Open
ariandanim opened this issue Sep 29, 2024 · 1 comment
Open

Bcrypt Error using Visual Studio 2022 #161

ariandanim opened this issue Sep 29, 2024 · 1 comment
Assignees

Comments

@ariandanim
Copy link

ariandanim commented Sep 29, 2024

Environment

  • Elixir & Erlang/OTP versions (elixir --version): Elixir 1.17.2 & OTP 27
  • Operating system: Windows 11

I have installed VC 2022 with C++ and Build Tools with version 17.11.4 but still doesn't work

Issue

Describe the issue here.

[error] Process #PID<0.691.0> raised an exception
** (RuntimeError) An error occurred when loading Bcrypt.
Make sure you have a C compiler and Erlang 20 installed.
If you are not using Erlang 20, either upgrade to Erlang 20 or
use version 0.12 of bcrypt_elixir.
See the Comeonin wiki for more information.

    (bcrypt_elixir 3.1.0) lib/bcrypt/base.ex:15: Bcrypt.Base.init/0
    (kernel 10.0) code_server.erl:1356: anonymous fn/1 in :code_server.handle_on_load/5
[warning] The on_load function for module Elixir.Bcrypt.Base returned:
{%RuntimeError{
   message: "An error occurred when loading Bcrypt.\nMake sure you have a C compiler and Erlang 20 installed.\nIf you are not using Erlang 20, either upgrade to Erlang 20 or\nuse version 0.12 of bcrypt_elixir.\nSee the Comeonin wiki for more information.\n"
 },
 [
   {Bcrypt.Base, :init, 0,
    [file: ~c"lib/bcrypt/base.ex", line: 15, error_info: %{...}]},
   {:code_server, :"-handle_on_load/5-fun-0-", 1,
    [file: ~c"code_server.erl", line: 1356]}
 ]}
@ariandanim ariandanim changed the title please update guide for Visual Studio 2022 Bcrypt Error using Visual Studio 2022 Sep 29, 2024
@riverrun
Copy link
Owner

riverrun commented Oct 4, 2024

I recommend that you ask about this at https://elixirforum.com/, as it is more likely that there will be someone there who is facing the same issue, or who has solved the same issue.

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

No branches or pull requests

2 participants