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

TokenMissingError #46

Closed
dotdotdotpaul opened this issue Jul 1, 2016 · 3 comments
Closed

TokenMissingError #46

dotdotdotpaul opened this issue Jul 1, 2016 · 3 comments

Comments

@dotdotdotpaul
Copy link

dotdotdotpaul commented Jul 1, 2016

Just added to my mix.exs as directed, ran my tests, then ran with test.watch and I get an exception:

$ mix test
.......

Finished in 0.8 seconds
7 tests, 0 failures

Randomized with seed 357360
$ mix test.watch

Running tests...
** (TokenMissingError) nofile:1: missing terminator: ) (for "(" starting at line 1)
    (elixir) lib/code.ex:168: Code.eval_string/3
    (elixir) lib/enum.ex:651: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir) lib/enum.ex:651: Enum.each/2
    (mix) lib/mix/tasks/run.ex:67: Mix.Tasks.Run.run/1
    (mix) lib/mix/task.ex:296: Mix.Task.run_task/3
    (elixir) lib/enum.ex:651: Enum."-each/2-lists^foreach/1-0-"/2

For reference, my mix.lock shows (in case this is version-specific):

"mix_test_watch": {:hex, :mix_test_watch, "0.2.6", "9fcc2b1b89d1594c4a8300959c19d50da2f0ff13642c8f681692a6e507f92cab", [:mix], [{:fs, "~> 0.9.1", [hex: :fs, optional: false]}]}

Elixir: 1.3.0, MacOS X.

@adamkittelson
Copy link

adamkittelson commented Jul 1, 2016

I started getting this error after we upgraded to Elixir 1.3.0 / Erlang 19.0 as well.

@dotdotdotpaul
Copy link
Author

I just noticed I could update to Elixir 1.3.1 so I did -- and now it works fine! Must be something odd with 1.3.0.

@lpil
Copy link
Owner

lpil commented Jul 2, 2016

Yep, there's a bug in 1.3.0 :(

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

3 participants