asdf-elixir | Elixir plugin for asdf version manager | Plugin library
kandi X-RAY | asdf-elixir Summary
kandi X-RAY | asdf-elixir Summary
Elixir plugin for asdf version manager
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of asdf-elixir
asdf-elixir Key Features
asdf-elixir Examples and Code Snippets
Community Discussions
Trending Discussions on asdf-elixir
QUESTION
When running my tests on Circle CI for a cleanly generated Phoenix project I get:
...ANSWER
Answered 2017-Feb-12 at 13:09Directories not containing any files itself or in any subdirectory are not stored by git. Since your migrations directory does not have any migrations, even if you add and commit your whole application into git, when you clone the git repo into another directory, you'll find the priv/repo/migrations
directory does not exist. Ecto requires that this directory exist which is why you get the error you get.
In order to have git create priv/repo/migrations
, you can create and commit a dummy file inside priv/repo/migrations
. You can also add the following line to the pre-build shell file (before mix compile
) to create that directory if it doesn't exist:
QUESTION
I'm trying to follow the GraphQL tutorial.
I'm used asdf to install the erlang, elixir and postgres. I'm using a macbook.
When I get to the step to run mix ecto.setup
, I'm getting the following error:
20:44:47.318 [error] GenServer #PID<0.1605.0> terminating ** (DBConnection.ConnectionError) tcp connect (localhost:5432): connection refused - :econnrefused (db_connection) lib/db_connection/connection.ex:163: DBConnection.Connection.connect/2 (connection) lib/connection.ex:622: Connection.enter_connect/5 (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3 Last message: nil State: Postgrex.Protocol ** (Mix) The database for Community.Repo couldn't be created: an exception was raised: ** (DBConnection.ConnectionError) tcp connect (localhost:5432): connection refused - :econnrefused (db_connection) lib/db_connection/connection.ex:163: DBConnection.Connection.connect/2 (connection) lib/connection.ex:622: Connection.enter_connect/5 (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
What it could be?
...ANSWER
Answered 2019-Feb-10 at 23:40You have to start postgres, according to the asdf-postgree docs you have to:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install asdf-elixir
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page