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

Instructions to install from git in do not work #67

Closed
ViktorNova opened this issue Nov 28, 2013 · 9 comments
Closed

Instructions to install from git in do not work #67

ViktorNova opened this issue Nov 28, 2013 · 9 comments
Labels

Comments

@ViktorNova
Copy link

Hello! I followed instructions to install from git as I want to check out latest developments and contribute block types/etc. Following the instructions, I did

git clone --recursive [email protected]:mcrider/azimuth.git

Spit out this:

Cloning into 'azimuth'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

However,

git clone --recursive https://github.com/mcrider/azimuth.git

does work, but fails on azimuth-core with the same error

$ git clone --recursive https://github.com/mcrider/azimuth.git
Cloning into 'azimuth'...
remote: Counting objects: 1599, done.
remote: Compressing objects: 100% (996/996), done.
remote: Total 1599 (delta 588), reused 1520 (delta 530)
Receiving objects: 100% (1599/1599), 795.69 KiB | 633 KiB/s, done.
Resolving deltas: 100% (588/588), done.
Submodule 'packages/azimuth-core' ([email protected]:mcrider/azimuth-core.git) registered for path 'packages/azimuth-core'
Submodule 'packages/azimuth-theme-bootstrap-flatBlue' ([email protected]:mcrider/azimuth-theme-bootstrap-flatBlue.git) registered for path 'packages/azimuth-theme-bootstrap-flatBlue'
Submodule 'packages/azimuth-theme-foundation-simpleWhite' ([email protected]:mcrider/azimuth-theme-foundation-simpleWhite.git) registered for path 'packages/azimuth-theme-foundation-simpleWhite'
Submodule 'packages/azimuth-views-bootstrap' ([email protected]:mcrider/azimuth-views-bootstrap.git) registered for path 'packages/azimuth-views-bootstrap'
Submodule 'packages/azimuth-views-foundation' ([email protected]:mcrider/azimuth-views-foundation.git) registered for path 'packages/azimuth-views-foundation'
Cloning into 'packages/azimuth-core'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of '[email protected]:mcrider/azimuth-core.git' into submodule path 'packages/azimuth-core' failed

After doing this, mrt refuses to do anything, complaining that packages/azimuth-core
does not exist

I checked the submodule directories and they were empty. I did a git submodule update and got the same pubkey error

I also tried cloning the packages straight from github into the packages directory, which actually worked with azimuth-core, but on the other ones it asked for my github credentials and then spit out a 403 error. Ahhhh!

Any idea what's going on?

@mcrider
Copy link
Owner

mcrider commented Nov 29, 2013

Good catch on the git repo address -- obviously it works for me because I run that command on my own authorized machine, but I haven't tested it on another machine. I'll have to find a machine that doesn't have my github key on it to find a better solution. In the meantime, you should be able to skip the --recursive command and checkout the relevant submodules directly into the packages/ directory by cloning each repo (using the 'https://github' address, not the 'git@github' address).

@ViktorNova
Copy link
Author

Ok ok, so I cloned the repo, and then separately cloned the stuff in packages/ from their own repos.
Now when I run mrt I get this error

Stand back while Meteorite does its thing

Installing Meteor

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

Installing smart packages

Downloading Meteor development bundle
######################################################################## 100.0%
  Package azimuth-core has been ignored because it has been manually installed in /packages

  Package azimuth-views-bootstrap has been ignored because it has been manually installed in /packages

  Package azimuth-views-foundation has been ignored because it has been manually installed in /packages

  Package azimuth-theme-bootstrap-flatBlue has been ignored because it has been manually installed in /packages

  Package azimuth-theme-foundation-simpleWhite has been ignored because it has been manually installed in /packages

✓ font-awesome
    tag: https://github.com/nate-strauser/meteor-font-awesome.git#v3.2.1
✓ iron-router
    tag: https://github.com/EventedMind/iron-router.git#v0.6.0
✓ zurb-foundation
    tag: https://github.com/MixinLabs/meteor-foundation.git#v0.1.8
✓ cfs-public-folder
    tag: https://github.com/nooitaf/meteor-cfs-public-folder.git#v0.0.3

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:152
hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co
                                                                    ^
There was a problem checking out tag: f47a0f1963be82121c975f955196b1fbb0cdbca3
n0va@n0van0de:~/VIKTORNOVA.COM/azimuth$ sudo meteor --port 1337
[[[[[ /var/www/VIKTORNOVA.COM/azimuth ]]]]]

=> Meteor server running on: http://localhost:1337/
=> Meteor 0.6.6.3 is available. Update this project with 'meteor update'.

^Cn0va@n0van0de:~/VIKTORNOVA.COM/azimuth$ 
n0va@n0van0de:~/VIKTORNOVA.COM/azimuth$ meteor update
azimuth: updated to Meteor 0.6.6.3.
n0va@n0van0de:~/VIKTORNOVA.COM/azimuth$ sudo mrt --port 1337
[sudo] password for n0va: 

Stand back while Meteorite does its thing
  Package azimuth-core has been ignored because it has been manually installed in /packages

  Package azimuth-views-bootstrap has been ignored because it has been manually installed in /packages

  Package azimuth-views-foundation has been ignored because it has been manually installed in /packages

  Package azimuth-theme-bootstrap-flatBlue has been ignored because it has been manually installed in /packages

  Package azimuth-theme-foundation-simpleWhite has been ignored because it has been manually installed in /packages

✓ cfs-public-folder
    tag: https://github.com/nooitaf/meteor-cfs-public-folder.git#v0.0.3

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:152
hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co
                                                                    ^
There was a problem checking out tag: f47a0f1963be82121c975f955196b1fbb0cdbca3

I'm new to Meteor (and i love it!), so I am not really sure what this means.. I tried it again and it started the server, but the site shows up with a blank page. In the error console I see this:

WebSocket connection to 'ws://mywebsitething.com/sockjs/806/3sf0j1_8/websocket' failed: Unexpected response code: 400

What should I try next?

@mcrider
Copy link
Owner

mcrider commented Dec 1, 2013

You probably shouldn't be running mrt with sudo. Also, did you follow the regular instructions for installing the necessary Azimuth modules (a views module first, then azimuth-core)? BTW I made a commit that should allow people that don't have their github keys set up to be able to fetch azimuth from git (e.g. use https for git submodules).

@mcrider
Copy link
Owner

mcrider commented Dec 1, 2013

Closing, but feel free to keep commenting and I'll try to help with support.

@mcrider mcrider closed this as completed Dec 1, 2013
@ViktorNova
Copy link
Author

Ok, I gave this a fresh start - this time git clone --recursive worked and pulled everything in! I then did

$ mrt add azimuth-views-bootstrap

and got the following error:

  Package azimuth-core has been ignored because it has been manually installed in /packages

  Package azimuth-views-bootstrap has been ignored because it has been manually installed in /packages

  Package azimuth-views-foundation has been ignored because it has been manually installed in /packages

  Package azimuth-theme-bootstrap-flatBlue has been ignored because it has been manually installed in /packages

  Package azimuth-theme-foundation-simpleWhite has been ignored because it has been manually installed in /packages

✓ cfs-public-folder
    tag: https://github.com/nooitaf/meteor-cfs-public-folder.git#v0.0.3

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:152
hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co
                                                                    ^
There was a problem checking out tag: f47a0f1963be82121c975f955196b1fbb0cdbca3

Got basically the same error when doing "mrt add azimuth-core" and when just running "mrt" to run the server. The error message looks truncated, I pasted it in here just as it it appears on the terminal.. could this be a problem with my meteor/meteorite installation? It's a fresh install as of like a week ago, and I'm able to install regular Azmuth using the basic (non-git) instructions on your website

@mcrider
Copy link
Owner

mcrider commented Dec 3, 2013

Hmm -- perhaps try the commands from nooitaf described at Meteor-Community-Packages/Meteor-CollectionFS#97?

@ViktorNova
Copy link
Author

Ok, finally came back to this, with a fresh copy of everything.
I followed instructions from your link and it did a bunch of stuff finally launched without error!

But now my site is loading a blank screen sigh
Viewing the source there are a ton of js files being loaded, but no content or anything.
Any idea? I seem to remember having much better lock following the instructions on your site as opposed to the ones here, but your site seems to be down at the moment. Would you not recommend installing from git at this time?

@mcrider
Copy link
Owner

mcrider commented Jan 15, 2014

I haven't done any extensive testing with meteor 0.7.0 so that may be causing you trouble if that's the version you're using. Otherwise, not sure what you could be running in to as this works fine for me. If you want to put your project on github I can take a look.

Also, thanks for the heads up on the site being down, its back up now.

@ViktorNova
Copy link
Author

I have been strapped for time and have not been able to troubleshoot lately, but will try again soon and will put it on github for you to look at if there's still an issue. I am keeping an eye on Azimuth and have high hopes for it!

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

No branches or pull requests

2 participants