linux – Meteorite(mrt)命令什么都不做

前端之家收集整理的这篇文章主要介绍了linux – Meteorite(mrt)命令什么都不做前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我只需要重新安装 linux到我的电脑,所以我一直在设置我的开发环境.我之前能够使用Meteor和Meteorite,但是现在mrt命令没有做任何事情.它没有抛出错误或任何东西,我用sudo -H npm install -g meteorite安装它然后,当我键入mrt时,它看起来像这样:
~ $mrt
~ $

我看到了一些类似的问题,但没有解决方案.我想我会尝试自己构建它,但我希望有人可能已经有了答案

解决方法

我在ubuntu下遇到了同样的问题.
mrt正在寻找一个可执行节点(它应该是nodejs),但是在ubuntu中,如果你看一下包节点,你会得到:
$apt-cache show node
Package: node
Priority: optional
Section: universe/hamradio
Installed-Size: 38
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Architecture: all
Version: 0.3.2-7.4
Depends: ax25-node
Conflicts: nodejs-legacy
Filename: pool/universe/n/node/node_0.3.2-7.4_all.deb
Size: 1284
MD5sum: 7385a0f5916e03d9143459ca4706f0ec
SHA1: bf7aa087db81475636897ff39de344754ce1415b
SHA256: 9756770f771bcc4183cffa622f89e21a585be96bd4de27024b0a7cb167f310ad
Description-en: Amateur Packet Radio Node program (transitional package)
 The existing node package has been renamed to ax25-node. This transitional
 package exists to ease the upgrade path for existing users.
Description-md5: 1278ed271672fd829c99361f93f468da
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

实际上不是nodejs.基本上mrt调用错误的可执行文件.
我已通过以下方式修复:

>删除节点:sudo apt-get remove node
>找到nodejs可执行文件:运行哪个nodejs.给我回来/usr/bin/nodejs
>创建指向节点的链接:ln -s /usr/bin/nodejs /usr/bin/node

现在mrt正确调用nodejs,一切正常

原文链接:https://www.f2er.com/linux/394464.html

猜你在找的Linux相关文章