synrc / n2o

⭕ N2O: Distributed WebSocket Application Server ISO 20922
https://ws.n2o.dev
Other
1.34k stars 168 forks source link

no function clause matching lists:flatten #310

Closed 7stud closed 6 years ago

7stud commented 6 years ago

A few minutes ago, I cloned N20 from git:

git clone git://github.com/synrc/n2o

Then, I did:

~/n2o/samples$ ./mad deps compile plan repl

And in the output scrolling down my terminal window, I saw

ERROR: "/Users/7stud/n2o/samples/apps/review" escript: exception error: no function clause matching lists:flatten({return, {return, [{error, "/Users/7stud/n2o

I installed erlang 20.3 with the asdf version manager:

~/n2o/samples$ which erl
/Users/7stud/.asdf/shims/erl

~/n2o/samples$ erl
Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V9.3  (abort with ^G)
1> 
5HT commented 6 years ago

we don't support Erlang installed from package managers. README.md:

Erlang version

We don't accept any reports of problems related to ESL or Ubuntu packaging. We only support Erlang built from sources, official Windows package, built with kerl or installed on Mac with homebrew. If you have any problems with your favourite Erlang package for your OS, please report issues to package maintainer.