-
Notifications
You must be signed in to change notification settings - Fork 1.4k
YARN problem #1143
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
Comments
Hi @thelubomir 👋, |
Hello @thelubomir , The errors you're encountering in the "Deploy to server" section indicate that the yarn command and node are not found on the remote server. This issue is not related to the setup-node step in the GitHub Actions workflow itself, but rather to the environment on the remote server where the deployment is being executed. |
@thelubomir @Osama2535 this is an issue with the setup-node action not beeing able to find the latest node version on your self-hosted runner. If you click on the setup-node action, you will see something like this:
Notice, preinstalled things have not been found. But you should see something like this:
I use the setup-action as follows, which works for me:
There can be many issues why its not working. The support for self-hosted runners is pretty bad.
Its probably somewhere here |
Hello @thelubomir, We are awaiting for your response on the issue. Please let us know if we can close this issue if there are no further queries. |
Hello! Yes, we can close the issue. thank you all. |
Hello! here is my pipeline
name: Deploy to DEV server
on:
push:
branches:
- dev
jobs:
deploy_dev:
runs-on: self-hosted
In "deploy to server" section got errors:
-bash: line 4: yarn: command not found
-bash: line 5: yarn: command not found
/usr/bin/env: ‘node’: No such file or directory
Could you please help with how to fix?
The text was updated successfully, but these errors were encountered: