Cannot load default config file phantomjs

1.3k views Asked by At

I installed phantomjs using ap-get on ubuntu, when I try to get the version of phantomjs

phantomjs --version

I get this error and warning:

Fontconfig error: Cannot load default config file

[WARNING] phantomjs: cannot connect to X server

I tried to install fonconfig from the source I get the same error.

Any solution to avoid this error. Thanks

0

There are 0 answers