-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/bin/env: 'node' no such file or directory when terraform_wrapper is set to true #84
Comments
I have exactly same issue |
I have found solution to this. Running on self runner you must check availability of node binary in: in my Ubuntu case following helped:
|
@daroga0002 i did the above you suggested, but then i get the error at Terraform init:
|
as per me one of your variables seems having some special character what is causing that it escape from variable and breaking action nodejs code |
@daroga0002 that was indeed the problem in the end! The variable had a special character, which i have now removed and the pipeline works fine! |
I experienced this same issue and resolved the issue by adding the following into my workflow: steps:
# https://github.com/actions/setup-node
- uses: actions/setup-node@v2
with:
node-version: '14' |
Possibly related issue: actions/setup-node#224 |
We have exactly same issue |
I did run just run into the same issue. As mentioned in the README.md: You can install NodeJS in your runner environment, or you can run the setup-node action. But actually, NodeJS is already installed. The To utilize this runner external, you need to determine its path. For the https://ghcr.io/actions/actions-runner image it is
This could actually by an idea for the terraform wrapper here. If you somehow manage to get the path of the node external, you could automatically utilize this NodeJS installation. |
Hey there,
I tried using setup-terraform with terraform_wrapper se to true, but getting
I am running this in a self-hosted, dockerized runner.
I have tried installing node in the container before running the action but it still fails. I have also tried to install node from within the workflow yaml, but still getting the same.
I have resorted to disable the terraform_wrapper, which then makes the whole workflow run fine.
Could you look into it?
The text was updated successfully, but these errors were encountered: