I am trying to update my packages, but when I run mrt update I get the following error:
/usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:63
throw('No version ' + version + ' of package ' + self.name + ' was found
^
No version 0.9.1 of package iron-router was found in the atmosphere database
I've looked around, and Iron Router has apparently had some hiccups lately:
Latest Version: 0.8.2
IMPORTANT: Do not install versions 0.9.0 or 0.9.1 from Atmosphere.
These versions are intended for the new Meteor packaging system
available in Meteor v0.9.0. iron-router 0.9.x was released by mistake
to Atmosphere.
Okay, so it makes sense that this is a problem.
However, I checked my iron-router package's smart.json, and I manually changed the version number to "0.8.2" (it was "0.8.1" before) but still the problem persists.
Am I misunderstanding something here? How can I get this to go away so a mrt update will run smoothly?
Hey folks, super sorry about this. 0.9.x of iron-router wasn't
supposed to be released to Atmosphere. It's for the new Meteor
packaging system coming in Meteor v0.9.0. I'm really sorry for the
hassle. #richsilv's and #LeCoupa's procedures should work well.
rm -rf packages/iron-*
rm -rf packages/iron:*
update smart.json
// smart.json
{
"packages": {
"iron-router": {
"version": "0.8.2"
},
}
source
Related
The readme file of iron-router states
IMPORTANT: Do not install versions 0.9.0 or 0.9.1 from Atmosphere. These versions are intended for the new Meteor packaging system available in Meteor v0.9.0. iron-router 0.9.x was released by mistake to Atmosphere.
Does this mean I can't install iron-router with the new packaging system at all? Do I have to use Meteorite for this?
meteor add iron:router
... will install the the wrong version from Atmosphere, am I right?
This was for the old packaging system - Atmosphere was the unofficial package system prior to Meteor 0.9. The command you typed will install the newest version of Iron Router to your Meteor 0.9.x app.
Today only i updated the meteor version to 0.9.1 but i am not able to install iron-router to my new project created by using the command
meteor add iron:router
the error i get is:
downloading iron:dynamic-template at version 0.3.0 ...
/root/.meteor/packages/meteor-tool/.1.0.26.13pjtg1++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/lib/node_modules/fibers/future.js:206
throw(ex);
^
[Offline: Error: SELF_SIGNED_CERT_IN_CHAIN]
i also tried to revise my meteor back to older version to 0.8.3 and used mrt then also can't able to install iron-router. Please tell me how to install iron-router for meteor version 0.9.1.
This is possibly due to broken pipe in connection. I was getting similar errors. Try closing the terminal window and run the update again and should run smoothly. Even if you get errors just try to run 2-3 times till all the packages are downloaded and updated.
I just updated my meteor application to meteor version 0.9.0
All seems to work well. The problem however now is that when I do a fresh checkout of my project and try to run it I get errors like this:
% meteor
Figuring out the best package versions to use. This may take a moment.
Could not resolve the specified constraints for this project:
Error: unknown package: subs-manager
So I tried to install the packages as follows:
% meteor add subs-manager
Figuring out the best package versions to use. This may take a moment.
Could not resolve the specified constraints for this project:
Error: unknown package: subs-manager
and next I tried:
% mrt install subs-manager
Done installing smart packages
But when I try to run meteor again I get the exact same error message. Any suggestions what goes wrong here ?
You need to migrate your package names:
meteor remove subs-manager
meteor add meteorhacks:subs-manager
You can check out the names by searching atmosphere, which I think uses the new naming system now or using meteor search e.g meteor search subsmanager
I'm wanting to try out the "gm" node package. I've currently got node-gd installed and want to see what gm offers.
I'm using Meteor 0.9.0.1 and this is my packages.json file:
{
"node-gd":"0.2.3",
"gm" :"1.16.0"
}
I ran "meteor update" .... It didn't install, so I guess I've done something wrong.
me#ubuntu:~/myapp$ meteor update
Refreshing package metadata. This may take a moment.
Refreshing package metadata. This may take a moment.
upgraded autoupdate from version 1.0.4 to version 1.0.5
upgraded less from version 1.0.5 to version 1.0.6
myapp: updated to Meteor 0.9.0.1.
All your package dependencies are already up to date.
Can anyone advise how to install this?
I think you need meteorhacks:npm
meteor add meteorhacks:npm
meteor
This should trigger the installation of the npm modules. Of note may be the new notation is Meteor.npmRequire and no longer Meteor.require
Some packages that I install with
mrt add [package]
give me an error after asking for a username / password for github.
I exit, and when I restart, the app crashes. mrt remove [package] claims to remove the package but doesn't. I physically have to go in and remove the references to smart.lock, smart.json, etc. Is this a bug, or is this something I'm doing wrong?
Thanks.
Meteorite has been replaced. If you are running Meteor 0.9.0 or higher, you can just run meteor add mrt:wordnet to add it your app.