Can't install Iron-Router - meteor

i get this when i type mrt add iron-router in my meteor app
this is on a mac
smart.json changed.. installing from smart.json
smart.json changed.. installing from smart.json
✓ iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.5.4
/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/EventedMind/iron-router.git
what can i do to install iron-router ?

try
mrt uninstall --system
Then reinstall iron-router again.
If it still happen maybe the author forget to push tag. ( if newer version released)
If u want to use it right now. Clone it into your packages folder

Try:
meteor add iron-router
This is the newer way to install Meteor packages.
Note: Also make sure you run this command in the root directory of your Meteor project.

Related

is there any way to install smart.json dependencies using meteor cli?

Since Meteor 0.9.0 it's posible to install dependencies from atmospherejs just using the meteor cli without install meteorite package manager.
However, is it posible to install all the dependencies declared in smart.json file without install meteorite (i.e. just using meteor cli)?
Thanks in advance.
smart.json is no longer used since Meteor 0.9. The dependencies of an app are stored in .meteor/packages, and are automatically installed when you run meteor run, and when the app restarts automatically after its files are changed. That is, the meteor tool will update the package catalog and install updated packages automatically.

Meteor 0.8.0 fails to install atmosphere packages

I just upgraded to Meteor 0.8.0 and now installing packages with meteorite fails. I tried a lot, including uninstalling and reinstalling Meteor and Meteorite from scratch. I am running meteor on a Mac with 10.9.2.
I just create a fresh app
mrt create myapp
cd myapp
and add some random atmosphere package
myapp add aws-sdk
and I get this error, no matter which package I try to install:
smart.json changed.. installing from smart.json
✓ aws-sdk
tag: https://github.com/peerlibrary/meteor-aws-sdk.git#v1.5.1.1
/usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:106
throw('Could not locate package.js within path ' + self.source.packagePa
^
Could not locate package.js within path /Users/Me/.meteorite/packages/aws-sdk/peerlibrary/meteor-aws-sdk/63efa4ebbe9986bd875f69d5fdf3248c5c44159e
my-mac-pro:myapp Me$
After that, the following line for removing the failing package produces exactly the same error:
mrt remove aws-sdk
Thank you very much for any hint!
Ah. Forgot I already knew the answer to the problem, just did not recognize the problem. This error seems to be a rephrased version of the error "unable to clone repo xyz" in the old version and comes from inappropriate permissions. The answer is reinstalling only meteorite and fixing the permissions:
sudo mrt uninstall
sudo mrt uninstall --system
sudo chown -R `whoami` ~/.npm
sudo -H npm install -g meteorite
Hope that helps anybody, if not i'll probably just delete the question sooner or later!

Meteor can't install accounts-ui after update

After I update meteor to 0.8.0, I can't install accounts-ui
Is that my problem or others have the problem too? What should I do?
JubydeMacBook-Air:test juby$ mrt add accounts-ui
/usr/local/lib/node_modules/meteorite/lib/project.js:225
throw("Package named " + pkgName + " doesn't exist in your meteor in
^
Package named accounts-ui doesn't exist in your meteor installation, smart.json, or on atmosphere
Thank for your reading.
Make sure you have meteorite installed: npm install -g meteorite
If you have previously added the accounts-ui package remove it with mrt add accounts-ui then add it back with mrt add accounts-ui.
If you still can't add accounts-ui, make sure it was actually removed from your .meteor/packages file.
You can then launch the app with mrt from the app root directory.
Hope that helps.

Issue Installing Packages

I am trying to install the spomet and accounts-entry packages with meteorite and I'm receiving this:
smart.json changed.. installing from smart.json
smart.json changed.. installing from smart.json
✓ iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.6.1
/usr/local/lib/node_modules/meteorite/lib/sources/git.js:151
hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co
^
There was a problem checking out tag: v0.6.1
What does this mean? Any help is appreciated, thanks.
I periodically get this error with a variety of meteorite packages.
The fix that usually works for me is to kill the ~/.meteorite directory by running...
mrt uninstall --system
...then trying again.
The problem's with iron-router.
It depends on the npm module connect. The npmjs repository is having a bit of trouble at the moment try in a few hours perhaps.
You could try forcing an install:
In your project:
cd packages
git clone https://github.com/EventedMind/iron-router.git
This should forcibly install iron-router in. And if not give more details as an error.

How to add package jade-handlebars

I am just a newbie in meteor and meteorite. I create a new project by mrt create my-app --branch devel. I have install meteorite by $ sudo -H npm install -g meteorite now when I add the package mrt add bootstrap the packages successfully added but on doing mrt add jade-handlers it wont show anything(either error or sucess) so how can I add the jade-handlerbars packages in my meteor project??
I am using node --version 0.10.11
meteorite --version 0.6.5
release 0.6.4
Thank You in Advance!!!
It may be that your smart.json is pointing at the tag on that package, rather than the git repo itself. (The last update to the package did not include a version bump, so the version of the package you get just by mrt adding it is outdated.)
Try putting this in your smart.json:
"jade-handlebars": {
"git": "https://github.com/SimonDegraeve/meteor-jade-handlebars.git"
}
Just a typo I guess?
mrt add jade-handlebars instead of mrt add jade-handlers
I also just figure it out that you can add the packages from the atmosphere by
mrt add <package> --repoPort=443

Resources