I am unable to install bower on Openshift. I keep on getting errors like
remote: npm ERR! Error: ENOENT, lstat \'/var/lib/openshift/537xxxxcd/app-root/runtime/re
This suggests the following approach:
"bower": "latest"
package.json
Add script for postinstall:
"scripts": { ... "postinstall": "HOME=$OPENSHIFT_REPO_DIR bower install || bower install" },