hexpm / hex_core

Reference implementation of Hex specifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running mix with kaffe deps fails to download pc package from hex

sinharahul opened this issue · comments

Environment : Running wsl Ubuntu behind a corporate proxy

Error Message:
===> Errors loading plugin pc. Run rebar3 with DEBUG=1 set to see errors.
===> Expanded command sequence to be run: []
===> Running provider: do
===> Expanded command sequence to be run: [app_discovery,{bare,compile}]
===> Running provider: app_discovery
===> Found top-level apps: [snappyer]
using config: [{src_dirs,["src"]},{lib_dirs,["apps/","lib/","."]}]
===> Getting definition for package pc from repo hexpm
===> hex_repo:get_package failed for package <<"pc">>: {badmatch,
{error,enotdir}}
===> throw {error,{rebar_app_utils,{missing_package,<<"pc">>,undefined}}} [{rebar_app_utils,
update_source,
3,
[{file,
Heres the mix file
defmodule Sputnik.MixProject do
use Mix.Project

def project do
[
app: :sputnik,
version: "0.1.0",
elixir: "~> 1.14.3",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end

Run "mix help compile.app" to learn about applications.

def application do
[
extra_applications: [:logger,:kaffe],
mod: {ElixirKaffeCodealong.Application, []}
]
end

Run "mix help deps" to learn about dependencies.

defp deps do
[
{:certifi, "> 2.10"},
{:pc, "
> 1.13.0"},

add to your existing deps

{:kaffe, "~> 1.9"}

]

end
end

Please open this issue with the kaffe development team.