Team-Kujira / pond-ex

The quickest way to start building your app on the Kujira DeFi Blockchain
0 stars 0 forks source link

pond-ex ecto.setup #1

Open ghassanaldarwish opened 1 month ago

ghassanaldarwish commented 1 month ago

NOTE: pond works perfectly.

When I run ecto.setup, I get the following error:

Generated kujira app ==> phoenix_ecto Compiling 7 files (.ex) Generated phoenix_ecto app ==> pond Compiling 15 files (.ex) Generated pond app The database for Pond.Repo has already been created

14:00:34.107 [info] Migrations already up [notice] Application pond exited: Pond.Application.start(:normal, []) returned an error: shutdown: failed to start child: Pond.Node (EXIT) shutdown: failed to start child: Pond.Node.Grpc (EXIT) an exception was raised: ** (MatchError) no match of right hand side value: {:error, :timeout} (pond 0.1.0) lib/pond/node.ex:2: Pond.Node.Grpc.start_link/1 (stdlib 5.2.3) supervisor.erl:420: :supervisor.do_start_child_i/3 (stdlib 5.2.3) supervisor.erl:406: :supervisor.do_start_child/2 (stdlib 5.2.3) supervisor.erl:390: anonymous fn/3 in :supervisor.start_children/2 (stdlib 5.2.3) supervisor.erl:1258: :supervisor.children_map/4 (stdlib 5.2.3) supervisor.erl:350: :supervisor.init_children/2 (stdlib 5.2.3) gen_server.erl:980: :gen_server.init_it/2 (stdlib 5.2.3) gen_server.erl:935: :gen_server.init_it/6 (stdlib 5.2.3) proc_lib.erl:241: :proc_lib.init_p_do_apply/3

silvermind commented 1 month ago

Do you have a running pond environment? https://github.com/Team-Kujira/pond

http://127.0.0.1:10157

Dev Config is here: https://github.com/Team-Kujira/pond-ex/blob/main/config/dev.exs#L74