最近几天(!)尝试了各种 Meteor/OpenShift 配置。简而言之,有点混乱,但最常见的问题是流星捆绑需要 Fibers 模块作为可下载的 repo 给出,如下所示
"dependencies": {
"fibers": "https://github.com/meteor/node-fibers/tarball/d519f0c5971c33d99c902dad346b817e84bab001",
"meteor-promise": "0.5.0",
"underscore": "1.5.2",
"source-map-support": "https://github.com/meteor/node-source-map-support/tarball/1912478769d76e5df4c365e147f25896aee6375e",
"semver": "4.1.0"
},
但似乎无法访问。
UNMET DEPENDENCY fibers@https://github.com/meteor/node-fibers/tarball/d519f0c5971c33d99c902dad346b817e84bab001
npm ERR! missing: fibers@https://github.com/meteor/node-fibers/tarball/d519f0c5971c33d99c902dad346b817e84bab001, required by meteor-dev-bundle@0.0.0
重点来了,我不知道如何在 OpenShift 上运行流星应用程序,但必须经过多次手动(使用 ssh 控制台)Fibers 安装/卸载
npm install fibers@1.0.8
npm uninstall fibers
npm install fibers@1.0.5
etc ...
还有一个……链接 https://github.com/meteor/node-fibers/tarball/d519f0c5971c33d99c902dad346b817e84bab001似乎是有效的。
那么有什么问题
"dependencies": {
"fibers": "https://github.com/meteor/node-fibers/tarball/d519f0c5971c33d99c902dad346b817e84bab001",
??