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

mix run fails - upgrade to elixir 1.1 #1237

Closed
erlanger opened this issue Sep 29, 2015 · 4 comments
Closed

mix run fails - upgrade to elixir 1.1 #1237

erlanger opened this issue Sep 29, 2015 · 4 comments

Comments

@erlanger
Copy link

mix run now fails with elixir 1.1 - of course it is because of the changes in Access, mix needs to be updated.

$ mix run
** (UndefinedFunctionError) undefined function: Access.List.get/2 (module Access.List is not available)
    Access.List.get([app: :bitbox, version: "0.0.1", elixir: "~> 1.1", deps: [], escript: [main_module: BitboxCli, emu_args: "+t 3048576"], aliases: [c: "compile", es: "escript.build"], build_per_environment: true, build_embedded: false, default_task: "run", deps_path: "deps", elixirc_paths: ["lib"], erlc_paths: ["src"], erlc_include_path: "include", erlc_options: [:debug_info], lockfile: "mix.lock", preferred_cli_env: [], start_permanent: false], :apps_path)
    (mix) lib/mix/project.ex:171: Mix.Project.umbrella?/1
    (mix) lib/mix/tasks/app.start.ex:78: Mix.Tasks.App.Start.start/2
    (mix) lib/mix/tasks/app.start.ex:68: Mix.Tasks.App.Start.run/1
    (mix) lib/mix/tasks/run.ex:63: Mix.Tasks.Run.run/1
    (mix) lib/mix/cli.ex:55: Mix.CLI.run_task/2
@chrismccord
Copy link
Member

As a sanity check can you rm -rf _build and retry? Everything is fine on my end on 1.1, so let's start there.

@dmarkow
Copy link
Contributor

dmarkow commented Sep 29, 2015

I had the same issue this morning, rm -rf _build fixed it. Thanks!

@zztczcx
Copy link

zztczcx commented Oct 23, 2015

Thanks for same issue

@chrislaskey
Copy link
Contributor

Thanks, cleaning out _build worked for me too. Appreciate it!

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

5 participants