The reason is that I used apt-get install Phantomjs
to install it, but it seems that it is a not full-functional Phantomjs version installed by apt-get
. So, download manually from the Phantomjs website and add the containing direction to the PATH
environment variable.