I followed this doc http://docs.grafana.org/installation/mac/ and ran command brew install --HEAD grafana/grafana/grafana
But , it installs Grafana Build 4.6.3, how could I install https://grafana.com/grafana/download/5.0.0-11923beta4?platform=linux Beta build or nightly builds on Mac?
does brew reinstall --HEAD grafana/grafana/grafana
work?
Nope. getting error Fatal error: Unable to find local grunt.
SBHINGARE-MBP15:~ swapnil.kotwal$ brew list grafana | head -1
/usr/local/Cellar/grafana/4.6.3/.bottle/etc/grafana/grafana.ini
SBHINGARE-MBP15:~ swapnil.kotwal$ npm -v
5.6.0
SBHINGARE-MBP15:~ swapnil.kotwal$ grunt -version
grunt-cli v1.2.0
grunt v1.0.2
SBHINGARE-MBP15:~ swapnil.kotwal$ node -v
v6.11.0
SBHINGARE-MBP15:~ swapnil.kotwal$ brew reinstall --HEAD grafana/grafana/grafana
==> Reinstalling grafana/grafana/grafana
==> Cloning GitHub - grafana/grafana: The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Updating /Users/swapnil.kotwal/Library/Caches/Homebrew/grafana–git
==> Checking out branch master
==> go run build.go build
==> yarn install
==> npm install grunt-cli -ddd --build-from-source --cache=/Users/swapnil.kotwal/Library/Caches/Homebrew/npm_cache
==> node_modules/grunt-cli/bin/grunt build
Last 15 lines from /Users/swapnil.kotwal/Library/Logs/Homebrew/grafana/04.grunt:
2018-02-22 16:40:39 +0530node_modules/grunt-cli/bin/grunt
buildgrunt-cli: The grunt command line interface (v1.2.0)
Fatal error: Unable to find local grunt.
If you’re seeing this message, grunt hasn’t been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:Getting started - Grunt: The JavaScript Task Runner
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
Issues · grafana/homebrew-grafana · GitHubThese open issues may also help:
brew install grafana/grafana/grafana fails with error brew install grafana/grafana/grafana fails with error · Issue #1 · grafana/homebrew-grafana · GitHub
brew install grafana/grafana fail (different error) brew install grafana/grafana fail (different error) · Issue #7 · grafana/homebrew-grafana · GitHub
brew install grafana error brew install grafana error · Issue #5 · grafana/homebrew-grafana · GitHub
homebrew of grafana fails homebrew of grafana fails · Issue #6 · grafana/homebrew-grafana · GitHub
Web Interface for Grafana not loaded Web Interface for Grafana not loaded · Issue #4 · grafana/homebrew-grafana · GitHub
Does this resolve it?
I had to brew uninstall grafana then brew install grafana --head to get past the grunt error.
In my case it works only with:
brew install grafana --HEAD