Closed anisimovevgeniy closed 8 years ago
@anisimovevgeniy I Didn't expect that. From your log
PhantomJS detected, but wrong version 2.0.0 @ /usr/local/bin/phantomjs.
Your phantomjs is correctly detected, but the npm module phantomjs-prebuilt
want a specific version. In deed, here you see that the version is checked against v2.1.1.
I thought this kind of check was dropped since I didn't have that problem building v2.6.0. I checked, and my build uses 1.9.20 of phantomjs
npm module (previous name of phantomjs-prebuild
) which also want a specific version (1.9.8) but, for an unknown reason, accept my version (2.0.1-development).
So, the suggestion I have is to use the same kind of dirty trick I used here : patch your phantomjs
binary. You can use something like hexedit
to open your file, locate the version string and simply rewrite that.
Dirty magic)) It works, thx!
Glad to know. Thanks for your feedback.
Hello, i'm trying to compile v3.0. Can you help with this errors?
root@raspberrypi:/tmp/graf-build/src/github.com/grafana/grafana# phantomjs --version 2.0.0