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
Related
Is it possible to check all available versions of an atmospherejs package?
For example, I am trying to install the twbs:bootstrap#=4.0.0-alpha.4 following their github page
But this does not install giving error:
no such version twbs:bootstrap#=4.0.0-alpha.4
Hence I am looking to find a way to check which versions are available for any given atmospherejs meteor package.
You can use
meteor show twbs:bootstrap
or
meteor show --show-all twbs:bootstrap
for older or pre-released versions. Latest available version is 4.0.0-alpha2
This might be a rather general question: How to deal with incompatible packages in meteor?
In my case I'm using the testing suite velocity and jasmine, which is not compatible with the current version of autoform-file package.
My html-reporter would just continue executing the test without actually getting the result due to the following error:
Errors prevented startup:
While selecting package versions:
error: Potentially incompatible change required to top-level dependency: yogiben:autoform-file 0.3.0, was 0.4.2.
Constraints on package "yogiben:autoform-file":
To allow potentially incompatible changes to top-level dependencies, you must pass --allow-incompatible-update on the command line.
Your application has errors. Waiting for file change.
I was thinking of downgrading the autoform-file package to 0.3.0 however, I didn't find any information on how to do it.
I was able to install the package at a specific version using:
meteor add yogiben:autoform-file#=0.3.0
That worked for me.
Currently the latest public version of the Spiderable package is 1.0.7 (atmosphere link). However on Github the version has been bumped to 1.0.8 (4 days ago).
I need the features from the 1.0.8 update. What's the best way for me to use the 1.0.8 version? I've tried:
meteor add spiderable#1.0.8
But it didn't work, the output was: error: no such version spiderable#1.0.8 .
This version of spiderable has not yet been published by MDG. This is why it says no such version.
While a package is being developed the version may be higher than the version available for use. When it has been tested its usually published along the next meteor version.
There may still be more changes to the package until its published.
If you want to use the package anyway you can copy the spiderable directory from github into a packages/spiderable directory. This may not work with certain dependency errors depending on whether another package using spiderable is required.
The second is to use the github version of meteor. Which is to clone the meteor project using git clone https://github.com/meteor/meteor then use the meteor binary (with the full absolute path) to run your project instead of meteor on its own.
After Installation of meteor and creation of meteor project I run the following command:
sudo meteor add azimuth-views-foundation
I get the following error, please suggest what am I missing:
=> Errors while parsing arguments:
While adding package azimuth-views-foundation: error: no such package
If you take a look into this search on Atmosphere Azimuth, there is not such package named azimuth-views-foundation
Try with meteor add mcrider:azimuth-views-foundation instead.
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