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

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

Open
sinharahul opened this issue Mar 13, 2023 · 0 comments
Open

Comments

@sinharahul
Copy link

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

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

1 participant