Please, help me resolve this issue: I'm running GitHub actions with custom runners, when I changed from ubuntu latest to self-hosted, I started getting this error.
Run terraform init /usr/bin/env: node: No such file or directory Error: Process completed with exit code 127.
I had a few issues in my case.
I forgot to add the following. This will speed up the build.
Hopefully this helps.