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.
Actual Behavior
/vagrant/precheck fails to build nodejs assets.
Expected Behavior
/vagrant/precheck successfully builds nodejs assets.
Steps to Reproduce
- Run
/vagrant/precheck as ubuntu user.
- Wait for nodejs build error.
Relevant Specifications (OS, Hardware, etc.)
- macOS High Sierra
- Vagrant
The current Vagrantfile mounts
/vagrantwith owner and groupvagrant. However,asdf(as well as other.bashrccustomizations) is installed to theubuntuuser. It therefore seems to be intended that/vagrant/precheckand/vagrant/app/app_upare run as theubuntuuser. However, due to the Vagrant permissions, some steps (including building the nodejs assets) cannot write to the/vagrantfolder. I've fixed this in my fork by mounting/vagrantwith 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/precheckfails to build nodejs assets.Expected Behavior
/vagrant/prechecksuccessfully builds nodejs assets.Steps to Reproduce
/vagrant/precheckasubuntuuser.Relevant Specifications (OS, Hardware, etc.)