Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There was a problem cloning repo: https://github.com/meteor/meteor.git #65

Closed
Spiralis opened this issue Dec 3, 2012 · 13 comments
Closed

Comments

@Spiralis
Copy link

Spiralis commented Dec 3, 2012

Installation of Meteorite on my Ubuntu 12.10. After Meteor installation I had to patch in a link to the meteor npm from /usr/bin, so it should be using the right npm. I then added meteorite as described in the website:

npm install -g meteorite

This also worked out fine (except not being able to create fast compilations of some dependencies, but since the installer explicitly said that this would work anyway I was not concerned.

I then had to link the mrt file into /url/bin/mrt too.

I now tried to run the app via Meteorite, with abysmal results:

ronny@Ubuntu-Dev:~/dev/MyApp$ mrt

Stand back while Meteorite does it's thing

Installing Meteor

branch: https://github.com/meteor/meteor.git#master

Installing smart packages

/usr/lib/meteor/lib/node_modules/meteorite/lib/sources/git.js:108
throw "There was a problem cloning repo: " + self.url;
^
There was a problem cloning repo: https://github.com/meteor/meteor.git

The funny thing is that I am running via a Oracle VirtualBox, since my windows PC complained about the exact same problem when I tried getting this working. Instead I installed VirtualBox and Ubuntu 12.10, just because of that problem in Windows. And - now I get the same problem once again, in Ubuntu 12.10. I find that really weird. Anyone able to shed a light on this?

@tmeasday
Copy link
Member

tmeasday commented Dec 3, 2012

This issue is due to git not being installed on the machine you are using (or at least not available in meteorite's PATH).

@tmeasday tmeasday closed this as completed Dec 3, 2012
@Spiralis
Copy link
Author

Spiralis commented Dec 5, 2012

You are probably right. I'll verify soon. I didn't even consider that to be an option, since on my Windows box I got the same error while running the comnand from a Git Bash console.

@alex-okrushko
Copy link

@tmeasday I have the same problem, however I do have git installed and on the path
I'm in the Windows 7 environment

D:\work\meteor>mrt.cmd add angularjs

Installing Meteor

  branch: https://github.com/meteor/meteor.git#master

Installing smart packages


C:\Users\Alex\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.
        throw "There was a problem cloning repo: " + self.url;
                                                   ^
There was a problem cloning repo: https://github.com/meteor/meteor.git

D:\work\meteor>git --version
git version 1.8.0.msysgit.0

D:\work\meteor>

@tmeasday
Copy link
Member

Hi Alex. That message gets thrown if a git clone command fails, which usually corresponds to git not being installed, although it's certainly possible that there's another explanation.

I wouldn't expect meteorite to work on windows anyway, considering that meteor itself doesn't (you need to use @TomWij's fork, and I'm not really sure what his installer does). But good luck!

@alex-okrushko
Copy link

@tmeasday, I'm using @TomWij's windows installer and meteor works fine :)
The git is working fine on windows as well (including the git clone command) and, as you might have noticed, it's installed and is in the PATH: git --version output in previous comment outputs: git version 1.8.0.msysgit.0.
I still think that it's something that meteorite does Unix-likish so it fails in Windows.
Thanks.

@tmeasday
Copy link
Member

You are probably right. The thing is that meteorite installs it's own versions of meteor, so it won't use @TomWij's version. I'm not sure if anyone has had any success getting meteorite working on Windows.

@alex-okrushko
Copy link

The only way for now is:

  1. Copy/clone the packages from their repositories
  2. make a directory at %programfiles%/meteor/packages/<package name> (name has to match the package)
  3. copy the cloned content (*.js files including package.js) to the newly created folder
  4. run meteor add <package-name>

@tmeasday
Copy link
Member

Right, well having to follow a process like this the main reason we created meteorite in the first place.

I won't have time to work on it myself, but I'd happily accept patches which fix any windows mistakes we've made and integrate properly with Tom's installer.

@nickjanssen
Copy link

Thanks for the workaround alex! Beats SSHing in my virtual box all the time, phew!

@ajbetteridge
Copy link

I'm just had the same error message as mentioned in the OP, but not in a VM environment, just plain Ubuntu 12.10. It turned out that (for whatever reason) ~/.meteorite/source was owned by root instead of me, chown'ing this back to me let the meteorite do it's stuff without any more complaints.

@webeng
Copy link

webeng commented Jun 8, 2013

Hello, I am trying to install Telescope on my mac. I've followed all the steps mentioned on the telescope page and there is no way to install it.

I get this error every time I run "mrt" or "sudo mrt"

"Stand back while Meteorite does its thing
smart.json changed.. installing from smart.json
✓ router
branch: git://github.com/tmeasday/meteor-router.git#master
✓ database-forms
branch: git://github.com/SachaG/database-forms.git#master
✓ moment
tag: https://github.com/possibilities/meteor-moment.git#v1.7.0

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:108
throw "There was a problem cloning repo: " + self.url;
^
There was a problem cloning repo: https://github.com/possibilities/meteor-moment.git"

I've been trying to install it for more than 4 hours and if somebody can give me a hand, I'll appreciate it. Thanks

@tmeasday
Copy link
Member

@webeng -- sounds odd. I'd try following the troubleshooting instructions from here: https://github.com/oortcloud/meteorite/blob/master/CONTRIBUTING.md#troubleshooting

@ceuk
Copy link

ceuk commented Sep 19, 2013

Thanks alex-okrushko for that awesome workaround. You just made my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants