I have updated an old project from 2.1.2 to 2.5.1. Update went through, meteor npm install went through (with many many warnings), but all meteor commands (run, add, list etc) results in:
% meteor list
=> Errors while initializing project:
While checking for meteor-tool@2.3.7:
error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.
My release file says METEOR@2.5.1 and for that, the meteor-tool should be 2.5.1 as well…
Since I cannot do list, it is very difficult to know where to start.
I cannot downgrade since I run on Mac M3, arm64, and 2.5.1 is the earliest version supporting it.
I have just downgraded an old project from 2.7 to 2.5.1 and all required Meteor assets have been downloaded ok and the project started. meteor-tool is the right version 2.5.1.
How about:
which meteor and go to location and see what meteor-tool you have under packages. For me meteor is at /Users/my_user/.meteor/meteor
delete all under .meteor/local except the DB folder
I found the problem: The versions file listed meteor-tool@2.3.7, which does not work with arm. I had forgotten to look in that file. Strange though since the system had been running with 2.5.1 before. I assume some package I installed downgraded it.
I could, at first, not figure out where it got the idea to use 2.3.7, but it was right there in the versions file.