我已经使用command-sudo -H npm install -g meteorite安装了陨石 但是当我尝试安装铁路由器包时,我收到以下错误。
mrt添加铁路由器
完成安装智能套装
当陨石做它的事情时退一步
完成安装智能套装
好的,一切都准备好了。流星来了!
/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle /lib/node_modules/fibers/future.js:206 扔(除息); ^ TypeError:Object#没有方法' handlePackageServerConnectionError' at _updateServerPackageData(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools /package-client.js:221:10) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package -client.js:201:15 at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage .js文件:247:13 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage的.js:240:29 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage .js文件:238:18 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage .js文件:229:23 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at Object.capture(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64 /tools/buildmessage.js:228:19) at Object.exports.updateServerPackageData(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/包client.js:200:16) at _.extend._refresh(home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/ catalog.js:181:40) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog的.js:147:14 at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage的.js:323:18 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage的.js:316:34 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage的.js:314:23 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at Object.enterJob(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64 /tools/buildmessage.js:300:26) at _.extend.refresh(home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/ catalog.js:143:18) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/commands -packages.js:63:22 at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/commands -packages.js:52:11 at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage .js文件:247:13 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage的.js:240:29 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage .js文件:238:18 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage .js文件:229:23 at _.extend.withValue(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux .x86_64 /工具/纤维helpers.js:112:14) at Object.capture(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64 /tools/buildmessage.js:228:19) 在exports.doOrDie(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64 /tools/commands-packages.js:51:31) 在refreshOfficialCatalogOrDie(/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools /commands-packages.js:62:3) 在main.registerCommand.name [as func](/home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool -os.linux.x86_64 /工具/命令-packages.js:1891:3) at /home/kvg/.meteor/packages/meteor-tool/.1.0.32.ra1aiw++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main的.js:1241:23
/usr/local/lib/node_modules/meteorite/lib/command.js:41 throw"命令退出" +代码+" /" +信号; ^ 命令以8 / null
退出我在尝试添加旋转时也遇到了同样的错误
mrt add spin
答案 0 :(得分:0)
试试这个:meteor add iron:router
从v.1.x开始,我认为你必须使用meteor add
命令进行软件包安装