Created
June 9, 2016 11:44
-
-
Save kamidev/c8cb4569851f75173bdfcacc8993ac3d to your computer and use it in GitHub Desktop.
Phoenix.new error using Erlang 19.0-rc.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Interactive Elixir (1.3.0-rc.1) - press Ctrl+C to exit (type h() ENTER for help) | |
➜ installer git:(master) mix phoenix.new dev_app --dev | |
... | |
➜ installer git:(master) ✗ cd dev_app | |
➜ dev_app git:(master) ✗ mix phoenix.server | |
==> connection | |
Compiling 1 file (.ex) | |
Generated connection app | |
==> fs (compile) | |
Compiled src/sys/fsevents.erl | |
Compiled src/sys/inotifywait_win32.erl | |
Compiled src/sys/inotifywait.erl | |
Compiled src/fs_event_bridge.erl | |
Compiled src/fs_sup.erl | |
Compiled src/fs_app.erl | |
Compiled src/fs_server.erl | |
Compiled src/fs.erl | |
Compiling c_src/mac/cli.c | |
Compiling c_src/mac/compat.c | |
Compiling c_src/mac/main.c | |
==> gettext | |
Compiling 1 file (.yrl) | |
Compiling 1 file (.erl) | |
Compiling 19 files (.ex) | |
Generated gettext app | |
==> ranch (compile) | |
Compiled src/ranch_transport.erl | |
Compiled src/ranch_sup.erl | |
Compiled src/ranch_server.erl | |
Compiled src/ranch_protocol.erl | |
Compiled src/ranch_listener_sup.erl | |
Compiled src/ranch_tcp.erl | |
Compiled src/ranch_ssl.erl | |
Compiled src/ranch_app.erl | |
Compiled src/ranch_conns_sup.erl | |
Compiled src/ranch_acceptors_sup.erl | |
Compiled src/ranch_acceptor.erl | |
Compiled src/ranch.erl | |
==> poolboy (compile) | |
Compiled src/poolboy_sup.erl | |
Compiled src/poolboy_worker.erl | |
Compiled src/poolboy.erl | |
==> decimal | |
Compiling 1 file (.ex) | |
Generated decimal app | |
==> poison | |
Compiling 4 files (.ex) | |
Generated poison app | |
==> db_connection | |
Compiling 24 files (.ex) | |
warning: random:seed/3: the 'random' module is deprecated; use the 'rand' module instead | |
lib/db_connection/backoff.ex:107 | |
warning: function :sbroker.async_ask_r/3 is undefined (module :sbroker is not available) | |
Found at 3 locations: | |
lib/db_connection/connection.ex:260 | |
lib/db_connection/connection.ex:406 | |
lib/db_connection/connection.ex:446 | |
warning: function :sbroker.ask/2 is undefined (module :sbroker is not available) | |
lib/db_connection/sojourn.ex:74 | |
warning: function :sbroker.nb_ask/2 is undefined (module :sbroker is not available) | |
lib/db_connection/sojourn.ex:75 | |
Generated db_connection app | |
==> phoenix_pubsub | |
Compiling 13 files (.ex) | |
warning: function :none.exception/1 is undefined (module :none is not available) | |
lib/mix/tasks/phoenix.pub_sub.bench.ex:57 | |
Generated phoenix_pubsub app | |
==> cowlib (compile) | |
Compiled src/cow_qs.erl | |
Compiled src/cow_spdy.erl | |
src/cow_multipart.erl:392: Warning: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1 | |
Compiled src/cow_multipart.erl | |
Compiled src/cow_http_te.erl | |
Compiled src/cow_http_hd.erl | |
Compiled src/cow_date.erl | |
Compiled src/cow_cookie.erl | |
Compiled src/cow_http.erl | |
Compiled src/cow_mimetypes.erl | |
==> cowboy (compile) | |
Compiled src/cowboy_middleware.erl | |
Compiled src/cowboy_sub_protocol.erl | |
Compiled src/cowboy_sup.erl | |
Compiled src/cowboy_websocket_handler.erl | |
Compiled src/cowboy_static.erl | |
Compiled src/cowboy_spdy.erl | |
Compiled src/cowboy_websocket.erl | |
Compiled src/cowboy_router.erl | |
Compiled src/cowboy_protocol.erl | |
Compiled src/cowboy_loop_handler.erl | |
Compiled src/cowboy_http_handler.erl | |
Compiled src/cowboy_rest.erl | |
Compiled src/cowboy_handler.erl | |
Compiled src/cowboy_clock.erl | |
Compiled src/cowboy_http.erl | |
Compiled src/cowboy_app.erl | |
Compiled src/cowboy_bstr.erl | |
Compiled src/cowboy.erl | |
Compiled src/cowboy_req.erl | |
==> plug | |
Compiling 44 files (.ex) | |
warning: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1 | |
lib/plug/request_id.ex:59 | |
Generated plug app | |
==> phoenix_html | |
Compiling 8 files (.ex) | |
Generated phoenix_html app | |
==> phoenix | |
Compiling 60 files (.ex) | |
Generated phoenix app | |
==> phoenix_live_reload | |
Compiling 3 files (.ex) | |
Generated phoenix_live_reload app | |
==> postgrex | |
Compiling 42 files (.ex) | |
Generated postgrex app | |
==> ecto | |
Compiling 66 files (.ex) | |
warning: function Ecto.Adapters.MySQL.Connection.all/1 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:99 | |
warning: function Ecto.Adapters.MySQL.Connection.delete/4 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:99 | |
warning: function Ecto.Adapters.MySQL.Connection.delete_all/1 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:99 | |
warning: function Ecto.Adapters.MySQL.Connection.execute_ddl/1 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:99 | |
warning: function Ecto.Adapters.MySQL.Connection.update/5 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:99 | |
warning: function Ecto.Adapters.MySQL.Connection.update_all/1 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:99 | |
warning: function Ecto.Adapters.MySQL.Connection.insert/5 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
Found at 2 locations: | |
lib/ecto/adapters/mysql.ex:99 | |
lib/ecto/adapters/mysql.ex:173 | |
warning: function Ecto.Adapters.MySQL.Connection.to_constraints/1 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:178 | |
warning: function Mariaex.start_link/1 is undefined (module Mariaex is not available) | |
lib/ecto/adapters/mysql.ex:261 | |
warning: function Ecto.Adapters.MySQL.Connection.execute/4 is undefined (module Ecto.Adapters.MySQL.Connection is not available) | |
lib/ecto/adapters/mysql.ex:263 | |
Generated ecto app | |
==> phoenix_ecto | |
Compiling 5 files (.ex) | |
Generated phoenix_ecto app | |
==> dev_app | |
Compiling 12 files (.ex) | |
== Compilation error on file web/views/layout_view.ex == | |
** (CompileError) web/views/layout_view.ex: internal error in lint_module; | |
crash reason: badarg | |
in function erl_anno:anno_info/1 | |
called as erl_anno:anno_info(-1) | |
in call from erl_lint:loc/2 (erl_lint.erl, line 640) | |
in call from erl_lint:icrt_export/4 (erl_lint.erl, line 3094) | |
in call from erl_lint:icrt_clauses/4 (erl_lint.erl, line 3076) | |
in call from erl_lint:expr/3 (erl_lint.erl, line 2168) | |
in call from erl_lint:'-expr_list/3-fun-0-'/3 (erl_lint.erl, line 2330) | |
in call from lists:foldl/3 (lists.erl, line 1263) | |
in call from erl_lint:exprs/3 (erl_lint.erl, line 2100) | |
in call from erl_lint:exprs/3 (erl_lint.erl, line 2101) | |
in call from erl_lint:'-expr_list/3-fun-0-'/3 (erl_lint.erl, line 2330) | |
in call from lists:foldl/3 (lists.erl, line 1263) | |
in call from erl_lint:expr/3 (erl_lint.erl, line 2306) | |
in call from erl_lint:exprs/3 (erl_lint.erl, line 2100) | |
in call from erl_lint:'-expr_list/3-fun-0-'/3 (erl_lint.erl, line 2330) | |
in call from lists:foldl/3 (lists.erl, line 1263) | |
in call from erl_lint:expr/3 (erl_lint.erl, line 2306) | |
in call from erl_lint:exprs/3 (erl_lint.erl, line 2100) | |
in call from erl_lint:'-expr_list/3-fun-0-'/3 (erl_lint.erl, line 2330) | |
in call from lists:foldl/3 (lists.erl, line 1263) | |
in call from erl_lint:expr/3 (erl_lint.erl, line 2306) | |
(stdlib) lists.erl:1338: :lists.foreach/2 | |
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6 | |
(elixir) lib/kernel/parallel_compiler.ex:116: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1 |
I had the same errormessage (Interactive Elixir (1.3.0) though)
mix deps.update phoenix_html solved this one (https://elixirforum.com/t/erlang-19-0-elixir-1-3-and-phoenix-1-1-4-compatible/911)
Yup. mix deps.update phoenix_html
fixed that
Yes, fixed this a while ago: phoenix_html was outdated. Thanks for the link, @StefanHoutzager.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kamidev did you ever figure this out? Just ran into it