Lovebeat installation

My intent is monitoring the health of logstash using heartbeat and lovebeat.
The environment is under proxy and the npm is alredy set to work under proxy. Are the following commands correct? At the end I'm unable to run ./lovebeat and I'm trying to figure out what is going wrong.

$ mkdir go
$ cd go
$ export GOPATH='/home/bubez/go/'
$ su root
$ http_proxy=http://proxy.**:port go get
$ cd src/
$ make

When the make finish to work it writes the following:


bower@1.7.9 node_modules/bower

gulp-sass@2.3.1 node_modules/gulp-sass
├── object-assign@4.0.1
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)
├── gulp-util@3.0.7 (array-differ@1.0.0, beeper@1.1.0, array-uniq@1.0.2, object-assign@3.0.0, lodash._reescape@3.0.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, replace-ext@0.0.1, fancy-log@1.2.0, has-gulplog@0.1.0, gulplog@1.0.0, chalk@1.1.3, lodash.template@3.6.2, vinyl@0.5.3, minimist@1.2.0, multipipe@0.1.2, dateformat@1.0.12)
├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.5)
└── node-sass@3.6.0 (get-stdin@4.0.1, async-foreach@0.1.3, in-publish@2.0.0, chalk@1.1.3, mkdirp@0.5.1, glob@7.0.3, cross-spawn-async@2.2.2, npmconf@2.1.2, nan@2.2.1, meow@3.7.0, request@2.72.0, gaze@1.0.0, sass-graph@2.1.1, node-gyp@3.3.1)
node_modules/.bin/bower install
bower ESUDO Cannot be run with sudo

Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.

You can however run a command with sudo using --allow-root option
make[1]: *** [bower_components/] Error 1
make[1]: Leaving directory `/home/bubez/go/src/'
make: *** [dashboard-assets] Error 2

I'm really sorry if the topic could be stupid.

This isn't the best place to ask for help about Lovebeat.

The error message tells you not to run the build as the super user, so don't use su to become the super user. Nowhere do the Lovebeat build instructions tell you to use su.

Thanks a lot, I will continue to work with it.
I'm sorry again for the disturb.