The current Vagrantfile mounts /vagrant with owner and group vagrant. However, asdf (as well as other .bashrc customizations) is installed to the ubuntu user. It therefore seems to be intended that /vagrant/precheck and /vagrant/app/app_up are run as the ubuntu user. However, due to the Vagrant permissions, some steps (including building the nodejs assets) cannot write to the /vagrant folder. I've fixed this in my fork by mounting /vagrant with owner and group ubuntu. However, I'm not sure if this will break things on your end, so I leave it up to you to review the pull request before merging.
The current Vagrantfile mounts
/vagrant
with owner and groupvagrant
. However,asdf
(as well as other.bashrc
customizations) is installed to theubuntu
user. It therefore seems to be intended that/vagrant/precheck
and/vagrant/app/app_up
are run as theubuntu
user. However, due to the Vagrant permissions, some steps (including building the nodejs assets) cannot write to the/vagrant
folder. I've fixed this in my fork by mounting/vagrant
with owner and groupubuntu
. However, I'm not sure if this will break things on your end, so I leave it up to you to review the pull request before merging.Actual Behavior
/vagrant/precheck
fails to build nodejs assets.Expected Behavior
/vagrant/precheck
successfully builds nodejs assets.Steps to Reproduce
/vagrant/precheck
asubuntu
user.Relevant Specifications (OS, Hardware, etc.)