Nefcairon
Hello,
I’m trying to set up IntelliJ to work with the Phoenix framework. Finally I managed that IntelliJ can build my module (simply “hello”) and run “mix deps.get”, but I cannot get it to “run” the server. I know I could type “mix phx.server” in the console, but I would prefer being able to run via IntelliJ (maybe to use debug later).
This are my settings:
i installed Elixir via chocolatey in Windows 10.
This is the error message:
"C:\Program Files\erl8.1\bin\erl.exe" -pa C:/ProgramData/chocolatey/lib/elixir/lib/eex/ebin -pa C:/ProgramData/chocolatey/lib/elixir/lib/elixir/ebin -pa C:/ProgramData/chocolatey/lib/elixir/lib/ex_unit/ebin -pa C:/ProgramData/chocolatey/lib/elixir/lib/iex/ebin -pa C:/ProgramData/chocolatey/lib/elixir/lib/logger/ebin -pa C:/ProgramData/chocolatey/lib/elixir/lib/mix/ebin -pa "C:/Program Files/erl8.1/lib/asn1-4.0.4/ebin" -pa "C:/Program Files/erl8.1/lib/common_test-1.12.3/ebin" -pa "C:/Program Files/erl8.1/lib/compiler-7.0.2/ebin" -pa "C:/Program Files/erl8.1/lib/cosEvent-2.2.1/ebin" -pa "C:/Program Files/erl8.1/lib/cosEventDomain-1.2.1/ebin" -pa "C:/Program Files/erl8.1/lib/cosFileTransfer-1.2.1/ebin" -pa "C:/Program Files/erl8.1/lib/cosNotification-1.2.2/ebin" -pa "C:/Program Files/erl8.1/lib/cosProperty-1.2.1/ebin" -pa "C:/Program Files/erl8.1/lib/cosTime-1.2.2/ebin" -pa "C:/Program Files/erl8.1/lib/cosTransactions-1.3.2/ebin" -pa "C:/Program Files/erl8.1/lib/crypto-3.7.1/ebin" -pa "C:/Program Files/erl8.1/lib/debugger-4.2.1/ebin" -pa "C:/Program Files/erl8.1/lib/dialyzer-3.0.2/ebin" -pa "C:/Program Files/erl8.1/lib/edoc-0.8/ebin" -pa "C:/Program Files/erl8.1/lib/eldap-1.2.2/ebin" -pa "C:/Program Files/erl8.1/lib/erl_docgen-0.6/ebin" -pa "C:/Program Files/erl8.1/lib/erl_interface-3.9.1/ebin" -pa "C:/Program Files/erl8.1/lib/erts-8.1/ebin" -pa "C:/Program Files/erl8.1/lib/et-1.6/ebin" -pa "C:/Program Files/erl8.1/lib/eunit-2.3.1/ebin" -pa "C:/Program Files/erl8.1/lib/gs-1.6.2/ebin" -pa "C:/Program Files/erl8.1/lib/hipe-3.15.2/ebin" -pa "C:/Program Files/erl8.1/lib/ic-4.4.2/ebin" -pa "C:/Program Files/erl8.1/lib/inets-6.3.3/ebin" -pa "C:/Program Files/erl8.1/lib/jinterface-1.7.1/ebin" -pa "C:/Program Files/erl8.1/lib/kernel-5.1/ebin" -pa "C:/Program Files/erl8.1/lib/megaco-3.18.1/ebin" -pa "C:/Program Files/erl8.1/lib/mnesia-4.14.1/ebin" -pa "C:/Program Files/erl8.1/lib/observer-2.2.2/ebin" -pa "C:/Program Files/erl8.1/lib/odbc-2.11.3/ebin" -pa "C:/Program Files/erl8.1/lib/orber-3.8.2/ebin" -pa "C:/Program Files/erl8.1/lib/os_mon-2.4.1/ebin" -pa "C:/Program Files/erl8.1/lib/otp_mibs-1.1.1/ebin" -pa "C:/Program Files/erl8.1/lib/parsetools-2.1.3/ebin" -pa "C:/Program Files/erl8.1/lib/percept-0.9/ebin" -pa "C:/Program Files/erl8.1/lib/public_key-1.2/ebin" -pa "C:/Program Files/erl8.1/lib/reltool-0.7.2/ebin" -pa "C:/Program Files/erl8.1/lib/runtime_tools-1.10.1/ebin" -pa "C:/Program Files/erl8.1/lib/sasl-3.0.1/ebin" -pa "C:/Program Files/erl8.1/lib/snmp-5.2.4/ebin" -pa "C:/Program Files/erl8.1/lib/ssh-4.3.2/ebin" -pa "C:/Program Files/erl8.1/lib/ssl-8.0.2/ebin" -pa "C:/Program Files/erl8.1/lib/stdlib-3.1/ebin" -pa "C:/Program Files/erl8.1/lib/syntax_tools-2.1/ebin" -pa "C:/Program Files/erl8.1/lib/tools-2.8.6/ebin" -pa "C:/Program Files/erl8.1/lib/typer-0.9.11/ebin" -pa "C:/Program Files/erl8.1/lib/wx-1.7.1/ebin" -pa "C:/Program Files/erl8.1/lib/xmerl-1.3.12/ebin" -noshell -s elixir start_cli -extra C:\ProgramData\chocolatey\lib\elixir\bin\mix phx.server
[info] Application hello exited: exited in: Hello.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function Hello.Application.start/2 is undefined (module Hello.Application is not available)
Hello.Application.start(:normal, [])
(kernel) application_master.erl:273: :application_master.start_it_old/4
** (Mix) Could not start application hello: exited in: Hello.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function Hello.Application.start/2 is undefined (module Hello.Application is not available)
Hello.Application.start(:normal, [])
(kernel) application_master.erl:273: :application_master.start_it_old/4
Can anyone help?
bye,
Peter
Trending in Questions
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Hello,
I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind.
However, when I launch mix phx.server, I get an error...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Latest Phoenix Threads
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ai
- #ecto-query
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #metaprogramming
- #hex












Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
NobbZ
Have you tried to run it from the terminal? It looks as if you are using a clouddrive, and I’ve read about a lot of trouble about using those on windows for programming related work, as the filesystem wrapper is to slow for the compiler or other weird stuff.
If though it works on the terminal but not from the IDE, I can’t help you any further, as I try to not use windows or big IDEs.
Nefcairon
Hi NobbZ,
Tried it again in the console and it didn’t work. Created app again and now it works. My mistake.
Sorry to bother you. Thread can be closed…
bye,
Peter