Meteor 0.9.x Update

How to find out what keeps my application from updating? I keep getting "This project is in the latest version, which is compatible with your current package restrictions." message.

Here is the result of the update command:

Refreshing package metadata. This may take a moment. Figuring out the best package versions to use. This may take a moment. Figuring out the best package versions to use. This may take a moment. Figuring out the best package versions to use. This may take a moment. This project is at the latest release which is compatible with your current package constraints. 

My packages.js look like this:

 # Meteor packages used by this project, one per line. # # 'meteor add' and 'meteor remove' will edit this file for you, # but you can also edit it by hand. accounts-base accounts-password alanning: roles@ =1.2.9 arunoda: npm@0.2.6 ch-activity ch-activityreport ch-arrestreport ch-assetreport ch-citation ch-fieldinterviewreport ch-incidentreport ch-inspectionreport ch-location ch-media ch-narrative ch-organization ch-person ch-property ch-signature ch-vehicle cmather: iron-router@0.8.2 coffeescript copleykj: mesosphere@0.1.9 d3 dash-patrol email less mizzao: bootboxjs@4.2.1-master.1 mrt: accounts-ui-bootstrap-3@ =0.3.3 mrt: leaflet@0.3.8 mrt: mongo-counter@1.1.0 notices sacha: spin@2.0.4 standard-app-packages tsega: bootstrap3-datetimepicker@ =0.2.0 

I transferred all the ch- * and dash- * packages to the new format. These are local applications in applications. They cannot be in public repositories.

+6
source share
4 answers

Try replacing

 cmather: iron-router@0.8.2 

with

 iron: router@0.9.1 

in your package file.

+7
source

I think this may be because not all of your packages are compatible with Meteor 0.9.0. If you want to check which packages are currently compatible, enter this code:

 meteor search (Package Name) 

By default, the meteor will only return compatible packets, so you can find which packets do not work by searching each one. If you cannot find the package, then it is probably incompatible, and you will not be able to run the latest version of Meteor unless you uninstall it.

Do not worry! While Meteor 0.9.0 is pretty buggy, they are working hard to update all packages and bug fixes. Just give it a few weeks to figure out if this doesn't work :)

Best of luck! Hope this helps!

+1
source

Search Meteor is included in the latest version. Docs: http://docs.meteor.com/#meteorsearch

Try this command and you can access meteorological search

 meteor update 

In addition, the update should indicate whether the package update is available, although I had to run the update (packagename) in each marked package to update

 meteor update aldeed:collection2 
+1
source

I found that I had to delete my ~/.npm and run meteor again to resolve some npm dependencies that I had. Perhaps you have some npm dependencies?

0
source

Source: https://habr.com/ru/post/974517/


All Articles