I’m working on an umbrella application using phoenix 1.4.6. I started the server and realised that no port was appended to the url in the console. I’ve attempted to access the endpoint in a browser but page is not accessible. Kindly assist.
NobbZ
June 6, 2019, 3:06pm
2
How have you created the umbrella project and the phoenix based application therein?
Kindly find below commands for the project creation
mix new --umbrella auction_umbrella
cd apps/
mix new auction --sup
mix phx.new.web auction_web --no-ecto
Thanks.
NobbZ
June 6, 2019, 3:17pm
4
Seems to be a known (and fixed) error.
opened 04:11PM - 31 May 19 UTC
closed 07:00PM - 01 Jun 19 UTC
<!--
### Precheck
* For help and support, use Stack Overflow or the Elixir F… orum
* For proposing a new feature, start a discussion on the Phoenix Core mailing list
* For bugs, do a quick search and make sure the bug has not yet been reported
* Ensure that this issue is related to the Phoenix library and not one of the dependencies listed in mix.exs (Ecto, Plug, etc.)
* All checked? Be nice and have fun!
All checked
-->
### Environment
* Elixir version (elixir -v): 1.8.2
* Phoenix version (mix deps): 1.4.6
* NodeJS version (node -v): 10.15.3
* NPM version (npm -v): 6.9.0
* Operating system: macOS Mojave v 10.14.5
### Expected behavior
Steps to reproduce:
> $ mix local.hex
> $ mix archive.uninstall phx_new
> $ mix archive.install hex phx_new 1.4.6
> $ mix new --umbrella demo
> $ cd demo/apps
> $ mix phx.new.web demo_web --no-ecto
At this stage, edit `config/config.exs` and add, at the end the following line: `config :phoenix, :json_library, Jason`
> $ cd demo_web
> $ mix phx.server
At this point I expect the server to be running
### Actual behavior
The server did not start: Tried the same on differents PCs, even with one from Brazil :)
Result:
>
> ➜ demo_web $ mix phx.server
> 17:08:46.922 [info] Access DemoWeb.Endpoint at http://localhost
Nothing more...
A similar problem was discussed in Mix phx.server has weird output, does not start on port 4000
Perhaps you can find an adhok solution to the problem in that thread?
Thanks a lot for your assistance. I will downgrade to 1.4.2. Do have a blissful day.