Closed pconerly closed 2 years ago
I've fixed this by changing all of the instances of command: yarn
to command: /usr/local/lib/npm/bin/yarn
but it feels bad :-/
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
I'm installing yarn with the geerlingguy.nodejs package, but I'm running into a problem. My deploy task was previously working, but it's not working on newly provisioned machines on digitalocean.
The bug output:
When I manually log onto the machine and run
yarn --version
oryarn install
it works just fine. Runningwhich yarn
gives me:/usr/local/lib/npm/bin/yarn
, which is what's expected for thegeerlingguy.nodejs
's install location.Here's my setup:
deployment.yaml
a line in
deploy/tasks/main.yml
Sorry if this isn't an issue with the geerlingguy package!