gpt4 book ai didi

meteor - 升级 meteor : Error when running mrt migrate-app

转载 作者:行者123 更新时间:2023-12-02 06:34:29 28 4
gpt4 key购买 nike

我刚刚将 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!");

首先,我这样做了(而且似乎有效):

me@ubuntu:/usr/local/lib/node_modules$ sudo npm install -g meteorite

最佳答案

首先您必须更新项目

meteor update

然后确保更新陨石

sudo npm update -g meteorite

然后运行

mrt migrate-app

欲了解更多信息,请阅读:

关于meteor - 升级 meteor : Error when running mrt migrate-app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25511580/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com