There isn't a clear guide on how to install Phantom for Meteor, so I decided to ask a question to clarify things.
Do you have to install phantom binary in
/usr/local/bin/
? I downloaded a compiledphantomjs
from the official website and placed inside the above path. I can runphantomjs
from anywhere now because it's added to path.In addition to 1, do you also have to install it from
meteor npm
? I followed this to install"phantomjs": "1.9.13"
as a npm package inside my Meteor app. It gets confusing from here because the binary from the official website isv2.0.0
while the npm package is1.9.13
. Do I need to install both?Because of the confusion in 2, I removed
/usr/local/bin/phantomjs
but then I can't run$phantomjs
anywhere because I don't have anything inPATH
.
My ultimate goal is to get spiderable
working. What should I do?