我试图在我的树莓派上安装meteorJS,但在安装过程中出现了这个错误:
"Unable to install on unsupported architecture Meteor: armv6l
Installation failed. ".
有一个解决方案是通过修改meteor core上的文件“admin/generate-dev-bundle.sh”来重新生成bundle,但是我们应该在这个文件中放什么呢?
你有其他解决方案吗?
谢谢
仅供参考,我整理了一个支持 Raspberry Pi 的流星叉,以及完整的安装说明。你可以在这里找到它:https ://github.com/IGx89/meteor
我为流星开发捆绑器创建了一些更新,以便您可以为尚未支持的架构生成运行时。[更新] 未来我会支持meteor realease标签,只要他们自己支持ARM。在我的 GitHub 存储库 [更新] 上签出分支。[更新 2] 添加了来自 tumblr 网站的信息[更新 2]
尼克·马丁在Meteor github 存储库中的第 442 期逐字引用:
No immediate plans to add official ARM support. In theory, all the dependencies
should build on ARM, so you could try building the dev bundle on your platform.
See https://github.com/meteor/meteor#slow-start-for-developers
构建这个(是的,甚至admin/generate-dev-bundle.sh
)所需的所有文件都可以在上面的存储库中找到。Akshat 引用了另一个确实提到如何修改它的 SO 问题。逐字引用此:
Essentially, remove all the instructions regarding building node.js, and all references to a tempdir, so you end up just installing node packages. I will post mine as a gist once it's all figured out...
试一试。您甚至可以更快地找到解决方案。你永远不会知道,直到你尝试。