1

I am going to develop a chat application with MongooseIM Server, but fail to install MongooseIM sever setup on my local pc, Can any one please help me to fix this error, Thanks in advance.

Following : http://mongooseim.readthedocs.io/en/1.5.1/user-guide/Getting-started/

error : ===> Failed to fetch and copy dep:{git,"git://github.com/goj/base16.git"{ref, "f78918e7b593fbdc35ec9bcc349aa50f47f45a8benter image description here

enter image description here

Bucket
  • 449
  • 3
  • 20

1 Answers1

1

I see those dependences are expressed using the git:// protocol.

Try instead using the https one:

 git config --global url."https://".insteadOf git://

And see if the same process still fails.
Make sure you are using a recent version of git (what git --version returns?)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks for replying. it worked for me but now getting below error. please help. ===> Compiling _build/default/lib/pooler/src/pooler_starter.erl failed _build/default/lib/pooler/src/pooler_starter.erl:34: export_all flag enabled - all functions will be exported – Bucket Aug 24 '17 at 09:06
  • @Bucket Could you make a new question with the text of that compilation error? That would allow me or other to focus on that new issue. – VonC Aug 24 '17 at 11:17
  • getting same error now, which i have asked in my question. and my git version is "git version 2.14.1" – Bucket Aug 28 '17 at 12:36
  • @Bucket the "Failed to fetch and copy dep:{git,"git://github.com"? That should be resolved with `git config --global url."https://".insteadOf git://` – VonC Aug 28 '17 at 12:47
  • Already try to change into rebar.congif file with below line "https://github.com/goj/base16.git" – Bucket Aug 28 '17 at 12:56
  • @Bucket Don't try and change existing file: the config allows git to transparently use https when it sees git. That allows you to *not* change any file. – VonC Aug 28 '17 at 12:58
  • you means to say no need to make change any where in directory ? – Bucket Aug 28 '17 at 13:08
  • @Bucket Yes: you only have to set the Git config as explained in the answer. – VonC Aug 28 '17 at 13:10
  • i have try to paste below line int my terminal but still same error git config --global url."https://github.com/goj/base16.git" – Bucket Aug 28 '17 at 13:45