You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
I am running a Sails app on Openshift. grunt-bower uses ~/.local to save bower data, however, on some platforms like openshift the home directory is not writable. Is there a way to override the .local directory when setting up grunt-bower?
I have tried renaming the HOME directory before running the app, and overriding the following env variables with writable directories, however, grunt-bower seems to be ignoring these and still keeps using ~/.local and therefor sails deployment fails. XDG_DATA_HOME XDG_CONFIG_HOME
The text was updated successfully, but these errors were encountered:
I am running a Sails app on Openshift. grunt-bower uses ~/.local to save
bower data, however, on some platforms like openshift the home directory is
not writable. Is there a way to override the .local directory when setting
up grunt-bower?
I have tried renaming the HOME directory before running the app, and
overriding the following env variables with writable directories, however,
grunt-bower seems to be ignoring these and still keeps using ~/.local and
therefor sails deployment fails.
XDG_DATA_HOME
XDG_CONFIG_HOME
Thanks for the response, yeah I dug a little deeper and found the right place to override XDG_DATA_HOME, XDG_CONFIG_HOME and it did work. I am using Openshift online as Pass and per their policy ~/.local is locked down for write. After going through grunt-bower code and the following link + hours of headache, It was fixed.
I am running a Sails app on Openshift. grunt-bower uses ~/.local to save bower data, however, on some platforms like openshift the home directory is not writable. Is there a way to override the .local directory when setting up grunt-bower?
I have tried renaming the HOME directory before running the app, and overriding the following env variables with writable directories, however, grunt-bower seems to be ignoring these and still keeps using ~/.local and therefor sails deployment fails.
XDG_DATA_HOME XDG_CONFIG_HOME
The text was updated successfully, but these errors were encountered: