小编Vin*_*cia的帖子

如何修复Windows上的“无法编译依赖项:bcrypt_elixir”错误?

我在Windows上,正在尝试安装bcrypt_elixir模块。

我收到以下错误:

$ mix phx.server
==> bcrypt_elixir
could not compile dependency :bcrypt_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile bcrypt_elixir", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.
Run Code Online (Sandbox Code Playgroud)

这是错误的终端屏幕截图:

错误

这是我的deps功能mix.exs

defp deps do
    [
      {:phoenix, "~> 1.3.0"},
      {:phoenix_pubsub, "~> 1.0"},
      {:phoenix_ecto, "~> 3.2"},
      {:postgrex, ">= …
Run Code Online (Sandbox Code Playgroud)

cygwin elixir-mix elixir elixir-framework phoenix-framework

5
推荐指数
3
解决办法
2429
查看次数