kaffe icon indicating copy to clipboard operation
kaffe copied to clipboard

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

Open sinharahul opened this issue 1 year ago • 0 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

sinharahul avatar Mar 13 '23 05:03 sinharahul