Where is phantomjs/render.js in master (5.0.0)?


I am running grafana from master because I wanted to do some quick hacking on the png-renderer feature. However it fails with:

Can't open '/Users/<snip>/go/src/github.com/grafana/grafana/vendor/phantomjs/render.js'

When I look for the file in the repo or build output I find nothing relevant:

/Users/<snip>/go/src/github.com/grafana/grafana $ find -L . -name render.js

Kind regards,


its been moved to /tools/phantomjs/render.js in master
make sure you run the latest nightly release.

thanks, I was running on a master which was 96 commits behind!

I had to add a symlink from tools/phantomjs/phantomjs to node_modules/.bin/phantomjs for it to work when building from source, is that a bug or by design? Maybe I am missing a build step?

If you have the time: https://github.com/grafana/grafana/pull/10697