Very New, and Very Frustrated, please help...

604 views
Skip to first unread message

Greg Munker

unread,
Jan 29, 2015, 10:03:38 PM1/29/15
to elixir-l...@googlegroups.com
I found something on the internet that runs off of Heroku (https://github.com/citizenparker/holonet-relay), and before i can run that app i need to use "mix deps.get" then "mix phoenix.start", up until about 2 hours ago i had no idea what mix, or elixir was. Though after doing some reading and lots of google searching, i now have Elixir installed, along with ErLang, and the Heroku toolkit. I have run the mix deps.get in the directory that has the app i'm looking to run and it installs to my personal user folder which is my first and last name. When I try and run the mix phoenix.start it comes back with ...

I am using Windows 7

c:\Users\Public\Documents\HOLONE~1>mix phoenix.start
escript: Failed to open file: c:/Users/Greg
←[31m←[1m** (Mix) Could not compile dependency ranch, escript.exe c:/Users/Greg
Munker/.mix/rebar command failed. If you want to recompile this dependency, plea
se run: mix deps.compile ranch←[0m

Now I know from my many many google searches that the problem is the space in my name, and this is where my question comes in. How do i change where everything unpacks, or how do i change the path for the compile to find these?

I thank you and my eye thats twitching thanks you all ahead of time.  

José Valim

unread,
Jan 30, 2015, 5:01:12 AM1/30/15
to elixir-l...@googlegroups.com
Can you please try this precompiled Elixir version?


We are releasing v1.0.3 soon and it contains a fix for this issue. You can read more about precompiled packages here: http://elixir-lang.org/install.html#2-precompiled-package



José Valim
Skype: jv.ptec
Founder and Lead Developer

--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/d4c0d84c-3e49-4937-9c2e-711628d74293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Greg Munker

unread,
Jan 30, 2015, 9:22:59 AM1/30/15
to elixir-l...@googlegroups.com
Thank you so much for the reply, i seem to have gotten further along now and thats awesome but i ran into another problem and if my very limited knowledge of this is right i think it's the app side that has an issue now, i pasted whats happening when i run "mix phoenix.start". 

Thank you again for your help! 



c:\Users\Public\Documents\HOLONE~1>mix phoenix.start
==> ranch (compile)
Compiled src/ranch_transport.erl
Compiled src/ranch_sup.erl
Compiled src/ranch_tcp.erl
Compiled src/ranch_ssl.erl
Compiled src/ranch_protocol.erl
Compiled src/ranch_listener_sup.erl
Compiled src/ranch_app.erl
Compiled src/ranch_acceptors_sup.erl
Compiled src/ranch_acceptor.erl
Compiled src/ranch.erl
Compiled src/ranch_server.erl
Compiled src/ranch_conns_sup.erl
==> poison
Compiled lib/poison.ex
Compiled lib/poison/parser.ex
Compiled lib/poison/decoder.ex
Compiled lib/poison/encoder.ex
Generated poison.app
==> earmark
Compiled lib/earmark/cli.ex
Compiled lib/earmark/context.ex
Compiled lib/earmark.ex
Compiled lib/earmark/helpers.ex
Compiled lib/earmark/inline.ex
Compiled lib/earmark/parser.ex
Compiled lib/earmark/html_renderer.ex
Compiled lib/earmark/line.ex
Compiled lib/earmark/block.ex
Generated earmark.app
==> cowlib (compile)
Compiled src/cow_qs.erl
Compiled src/cow_spdy.erl
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_http.erl
Compiled src/cow_cookie.erl
Compiled src/cow_mimetypes.erl
==> cowboy (compile)
Compiled src/cowboy_sub_protocol.erl
Compiled src/cowboy_middleware.erl
Compiled src/cowboy_websocket_handler.erl
Compiled src/cowboy_sup.erl
Compiled src/cowboy_static.erl
Compiled src/cowboy_router.erl
Compiled src/cowboy_spdy.erl
Compiled src/cowboy_websocket.erl
Compiled src/cowboy_rest.erl
Compiled src/cowboy_loop_handler.erl
Compiled src/cowboy_http_handler.erl
Compiled src/cowboy_protocol.erl
Compiled src/cowboy_handler.erl
Compiled src/cowboy_clock.erl
Compiled src/cowboy_bstr.erl
Compiled src/cowboy_app.erl
Compiled src/cowboy.erl
Compiled src/cowboy_http.erl
Compiled src/cowboy_req.erl
==> plug
Compiled lib/plug.ex
Compiled lib/plug/adapters/cowboy.ex
Compiled lib/plug/builder.ex
Compiled lib/plug/conn/adapter.ex
Compiled lib/plug/conn/cookies.ex
Compiled lib/plug/conn/query.ex
Compiled lib/plug/conn/status.ex
Compiled lib/plug/crypto.ex
Compiled lib/plug/conn/unfetched.ex
Compiled lib/plug/conn/utils.ex
Compiled lib/plug/crypto/message_verifier.ex
Compiled lib/plug/crypto/key_generator.ex
Compiled lib/plug/crypto/message_encryptor.ex
Compiled lib/plug/head.ex
Compiled lib/plug/error_handler.ex
Compiled lib/plug/adapters/translator.ex
Compiled lib/plug/adapters/test/conn.ex
Compiled lib/plug/adapters/cowboy/handler.ex
Compiled lib/plug/method_override.ex
Compiled lib/plug/logger.ex
Compiled lib/plug/exceptions.ex
Compiled lib/plug/router.ex
Compiled lib/plug/parsers.ex
Compiled lib/plug/conn.ex
Compiled lib/plug/parsers/urlencoded.ex
Compiled lib/plug/parsers/json.ex
Compiled lib/plug/router/utils.ex
Compiled lib/plug/csrf_protection.ex
Compiled lib/plug/session.ex
Compiled lib/plug/session/store.ex
Compiled lib/plug/session/ets.ex
Compiled lib/plug/debugger.ex
Compiled lib/plug/session/cookie.ex
Compiled lib/plug/supervisor.ex
Compiled lib/plug/test.ex
Compiled lib/plug/static.ex
Compiled lib/plug/parsers/multipart.ex
Compiled lib/plug/adapters/cowboy/conn.ex
Compiled lib/plug/upload.ex
Compiled lib/plug/mime.ex
Generated plug.app
==> phoenix
Compiled lib/mix/tasks/phoenix.routes.ex
Compiled lib/mix/tasks/compile.phoenix.ex
Compiled lib/mix/phoenix.ex
Compiled lib/mix/tasks/phoenix.new.ex
Compiled lib/phoenix.ex
Compiled lib/mix/tasks/phoenix.server.ex
Compiled lib/phoenix/code_reloader/proxy.ex
Compiled lib/phoenix/code_reloader.ex
Compiled lib/phoenix/code_reloader/server.ex
Compiled lib/phoenix/config.ex
Compiled lib/phoenix/controller/pipeline.ex
Compiled lib/phoenix/endpoint/adapter.ex
Compiled lib/phoenix/endpoint.ex
Compiled lib/phoenix/endpoint/cowboy_handler.ex
Compiled lib/phoenix/endpoint/cowboy_websocket.ex
Compiled lib/phoenix/endpoint/supervisor.ex
Compiled lib/phoenix/exceptions.ex
Compiled lib/phoenix/html/engine.ex
Compiled lib/phoenix/html.ex
Compiled lib/phoenix/naming.ex
Compiled lib/phoenix/controller.ex
Compiled lib/phoenix/pubsub.ex
Compiled lib/phoenix/endpoint/error_handler.ex
Compiled lib/phoenix/controller/logger.ex
Compiled lib/phoenix/pubsub/garbage_collector.ex
Compiled lib/phoenix/pubsub/server.ex
Compiled lib/phoenix/router/resource.ex
Compiled lib/phoenix/router/route.ex
Compiled lib/phoenix/router/helpers.ex
Compiled lib/phoenix/router.ex
Compiled lib/phoenix/router/scope.ex
Compiled lib/phoenix/router/console_formatter.ex
Compiled lib/phoenix/html/safe.ex
Compiled lib/phoenix/supervisor.ex
Compiled lib/phoenix/socket/message.ex
Compiled lib/phoenix/socket.ex
Compiled lib/phoenix/template/engine.ex
Compiled lib/phoenix/template/eex_engine.ex
Compiled lib/phoenix/channel.ex
Compiled lib/phoenix/template/exs_engine.ex
Compiled lib/phoenix/channel/transport.ex
Compiled lib/phoenix/template.ex
Compiled lib/phoenix/transports/serializer.ex
Compiled lib/phoenix/transports/json_serializer.ex
Compiled lib/phoenix/transports/long_poller.ex
Compiled lib/phoenix/transports/websocket.ex
Compiled lib/phoenix/transports/long_poller/server.ex
Compiled lib/phoenix/view.ex
Generated phoenix.app
==> holonet_relay
Compiled lib/holonet_relay.ex
Compiled web/controllers/messages_controller.ex
Compiled web/controllers/pages_controller.ex
Compiled web/controllers/folders_controller.ex
Compiled web/models/static_text.ex
Compiled web/models/messages.ex
Compiled web/router.ex
== Compilation error on file web/views/messages_view.ex ==
** (CompileError) web/views/messages_view.ex:2: module HolonetRelay.View is not
loaded and could not be found
    (elixir) expanding macro: Kernel.use/1
    web/views/messages_view.ex:2: HolonetRelay.MessagesView (module)
    (elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.Parall
elCompiler.spawn_compilers/8

== Compilation error on file web/views/folders_view.ex ==
** (CompileError) web/views/folders_view.ex:2: module HolonetRelay.View is not l
oaded and could not be found
    (elixir) expanding macro: Kernel.use/1
    web/views/folders_view.ex:2: HolonetRelay.FoldersView (module)
    (elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.Parall
elCompiler.spawn_compilers/8

== Compilation error on file web/views/layout_view.ex ==
** (CompileError) web/views/layout_view.ex:2: module HolonetRelay.View is not lo
aded and could not be found
    (elixir) expanding macro: Kernel.use/1
    web/views/layout_view.ex:2: HolonetRelay.LayoutView (module)
    (elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.Parall
elCompiler.spawn_compilers/8

== Compilation error on file web/views.ex ==
** (CompileError) web/views.ex:6: module HolonetRelay.I18n is not loaded and cou
ld not be found
    (phoenix) expanding macro: Phoenix.View.using/1
    web/views.ex:6: HolonetRelay.View (module)
    (elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.Parall
elCompiler.spawn_compilers/8

== Compilation error on file web/i18n.ex ==
** (CompileError) web/i18n.ex:2: module Linguist.Vocabulary is not loaded and co
uld not be found
    (elixir) expanding macro: Kernel.use/1
    web/i18n.ex:2: HolonetRelay.I18n (module)
    (elixir) lib/kernel/parallel_compiler.ex:97: anonymous fn/4 in Kernel.Parall
elCompiler.spawn_compilers/8

José Valim

unread,
Jan 30, 2015, 9:29:05 AM1/30/15
to elixir-l...@googlegroups.com
It seems something related to your dependencies. Have you changed or modified the mix.exs/mix.lock files? If so, please guarantee they are in the repository you are cloning. You can also paste the output of "mix deps" here.



José Valim
Skype: jv.ptec
Founder and Lead Developer

--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.

Greg Munker

unread,
Jan 30, 2015, 9:44:40 AM1/30/15
to elixir-l...@googlegroups.com
No i did not change the mix.exs or the mix.lock, I wouldn't have the first clue where to begin in touching those. Here is the mix deps

c:\Users\Public\Documents\HOLONE~1>mix deps
* ranch 1.0.0 (Hex package)
  locked at 1.0.0 (ranch)
  ok
* poison 1.3.1 (Hex package)
  locked at 1.3.1 (poison)
  ok
* earmark 0.1.12 (Hex package)
  locked at 0.1.12 (earmark)
  ok
* cowlib 1.0.1 (Hex package)
  locked at 1.0.1 (cowlib)
  ok
* cowboy 1.0.0 (Hex package)
  locked at 1.0.0 (cowboy)
  ok
* plug 0.10.0 (Hex package)
  locked at 0.10.0 (plug)
  ok
* phoenix 0.9.0-dev (git://github.com/phoenixframework/phoenix.git)
  locked at 534e029 (branch: master)
  ok




On Thursday, January 29, 2015 at 10:03:38 PM UTC-5, Greg Munker wrote:

Greg Munker

unread,
Jan 30, 2015, 9:52:42 AM1/30/15
to elixir-l...@googlegroups.com
Ok I got it working, as i posted the reply i do remember trying to open the mix.exs to try and maybe figure it out. I just redownloaded the mix.exs and lock, did mix deps.clean --all and then redid everything and it's working perfect! 

Thank you so much for your help! I assure you my eye thanks you so much more. :)


On Thursday, January 29, 2015 at 10:03:38 PM UTC-5, Greg Munker wrote:

Greg Munker

unread,
Jan 30, 2015, 10:07:16 AM1/30/15
to elixir-l...@googlegroups.com
rolf now i'm having issues with the "git push heroku master", maybe i just wasn't meant to run this haha. 

Just wanted to say thank you again for your help.

On Thursday, January 29, 2015 at 10:03:38 PM UTC-5, Greg Munker wrote:
Reply all
Reply to author
Forward
0 new messages