I've posted this issue on bitrise discussions here
This error started occurring right after one of our team members added the NVM step in our workflow using the Android & Docker, on Ubuntu 20.04 Large stack. The command we’re running is yarn install && yarn allow-scripts and it used to work when we added a step to modify the node_modules folder permissions by using chmod -R 777 node_modules but this is not longer working since the NVM step was added. Here is the important part of the log:
I have tried other workarounds by applying a trap/catch in the bash script but I still get the same error. I also tried running the commands in the yarn setup manually while using ssh access and they ran without issue but cause other builds to fail. The error only occurs when yarn is trying to run the commands.
I've posted this issue on bitrise discussions here
This error started occurring right after one of our team members added the NVM step in our workflow using the Android & Docker, on Ubuntu 20.04 Large stack. The command we’re running is yarn install && yarn allow-scripts and it used to work when we added a step to modify the node_modules folder permissions by using chmod -R 777 node_modules but this is not longer working since the NVM step was added. Here is the important part of the log:
I have tried other workarounds by applying a trap/catch in the bash script but I still get the same error. I also tried running the commands in the yarn setup manually while using ssh access and they ran without issue but cause other builds to fail. The error only occurs when yarn is trying to run the commands.