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

It does not build #42

Open
revington opened this issue Apr 25, 2023 · 2 comments
Open

It does not build #42

revington opened this issue Apr 25, 2023 · 2 comments

Comments

@revington
Copy link

...
===> Compiling katana_code
===> Compiling elvis
===> Compiling _build/default/lib/elvis/src/elvis_code.erl failed
_build/default/lib/elvis/src/elvis_code.erl:none: error in parse transform 'lager_transform':
exception error: bad argument
  in function  integer_to_list/1
     called as integer_to_list({185,10})
     *** argument 1: not an integer
  in call from lager_transform:make_varname/2 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 243)
  in call from lager_transform:do_transform/5 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 148)
  in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 109)
  in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 109)
  in call from lager_transform:transform_statement/2 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 107)
  in call from lager_transform:walk_body/2 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 83)
  in call from lager_transform:walk_clauses/2 (/home/pedro/work/personal/sandbox/learn-erlang/canillita/_build/default/lib/lager/src/lager_transform.erl, line 78)

Linux, erlang 25.3

@elbrujohalcon
Copy link
Member

Yeah… you will need an older version of OTP. I think that the last one this project was tested with was OTP18.

If you're up for a challenge, then please by all means update the dependencies to their latest versions, try it out and submit a PR :)

@revington
Copy link
Author

Well, I'm just getting my feet wet with Erlang, one step at a time ;)

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

2 participants