在 运行 维基百科 ios 项目时提示 "Missing node v0.10 and/or higher and npm 1.4 or higher"
Prompt "Missing node v0.10 and/or higher and npm 1.4 or higher" while running wikipedia ios project
我正在尝试关注 https://github.com/wikimedia/apps-ios-wikipedia/ 的维基百科 ios 项目,但在 运行 "make get-deps" 时遇到问题。我总是得到 "Missing node v0.10 and/or higher and npm 1.4 or higher" 的提示,但我确实已经安装了节点和 npm。
node版本是v0.12.0,npm版本是2.5.1。
相关代码为here。 Makefile
本质上是在要求 npm@1.4
;消息说“1.4 或更高”,但实际上代码只检查 1.4
(尽管 npm@2
已经存在几个月了)。在他们更新之前,您可以简单地注释掉 exit 1
以便该过程继续。
我正在尝试关注 https://github.com/wikimedia/apps-ios-wikipedia/ 的维基百科 ios 项目,但在 运行 "make get-deps" 时遇到问题。我总是得到 "Missing node v0.10 and/or higher and npm 1.4 or higher" 的提示,但我确实已经安装了节点和 npm。
node版本是v0.12.0,npm版本是2.5.1。
相关代码为here。 Makefile
本质上是在要求 npm@1.4
;消息说“1.4 或更高”,但实际上代码只检查 1.4
(尽管 npm@2
已经存在几个月了)。在他们更新之前,您可以简单地注释掉 exit 1
以便该过程继续。