Executing Bower in a CI Environment, such as Jenkins
It appears that your execution environment has neither $XDG_CONFIG_HOME
nor $HOME
set as environment variables.
You can work around this by manually setting it, for example, to the current workspace:
export XDG_CONFIG_HOME="$WORKSPACE/.config"...bower install