Meteorjs配置phantomjs以部署到meteor.com

Meteorjs配置phantomjs以部署到meteor.com,meteor,phantomjs,Meteor,Phantomjs,我已经安装了带有二进制文件的phantomjs w home brew brew update && brew install phantomjs 我用npm安装了它,也用mrt add phantomjs安装了它`` 然后我安装了spiderable包 当我使用/?\u scaped\u片段访问本地主机上的页面时= 我得到了我的应用程序的正确html代码 但是当我访问mysite/?\u scaped\u fragment= 我得到的是空代码,实际上没有html,那么我缺少什

我已经安装了带有二进制文件的phantomjs w home brew

brew update && brew install phantomjs
我用npm安装了它,也用mrt add phantomjs安装了它``

然后我安装了spiderable包

当我使用/?\u scaped\u片段访问本地主机上的页面时=

我得到了我的应用程序的正确html代码

但是当我访问mysite/?\u scaped\u fragment=


我得到的是空代码,实际上没有html,那么我缺少什么呢?我还卸载了fastrender并重新安装了软件包。

默认情况下,Meteor部署主机已经安装了phantomjs。(如果您想通过
meteor deploy
部署到meteor.com)

您所要做的就是安装可插拔的,而不是phantomjs。您通过
mrt
安装的phantomjs包不是必需的。phantomjs也不是通过brew实现的

meteor add spiderable
meteor deploy yoursite.meteor.com
然后访问您的网站。meteor.com/?\u scaped\u fragment=