我刚刚将Meteor升级到0.9.0,运行"mrt migrate-app"时出错.
我做错了什么吗?
-- Notice --
0.9.0: Welcome to the new Meteor package system! You can now add any Meteor
package to your app (from more than 1800 packages available on the
Meteor Package Server) just by typing 'meteor add <packagename>', no
Meteorite required.
It looks like you have been using Meteorite with this project. To
migrate your project automatically to the new system:
(1) upgrade your Meteorite with 'npm install -g meteorite', then
(2) run 'mrt migrate-app' inside the project.
Having done this, you no longer need 'mrt' and can just use 'meteor'.
All your package dependencies are already up to date.
me@ubuntu:~/myApp$ mrt migrate-app
/usr/local/lib/node_modules/meteorite/bin/mrt.js:21
throw("Subcommand " + subCommandName + " does not exist!");
Run Code Online (Sandbox Code Playgroud)
首先,我做了这个(它似乎工作):
me@ubuntu:/usr/local/lib/node_modules$ sudo npm install -g meteorite
Run Code Online (Sandbox Code Playgroud)
Mat*_*yas 10
首先,您必须更新项目
meteor update
Run Code Online (Sandbox Code Playgroud)
然后确保更新陨石
sudo npm update -g meteorite
Run Code Online (Sandbox Code Playgroud)
然后运行
mrt migrate-app
Run Code Online (Sandbox Code Playgroud)
欲了解更多信息: