Skip to content

Commit

Permalink
Update node-build branch from master to main
Browse files Browse the repository at this point in the history
The HEAD branch was renamed. Even after updating the name in Ansible, it
still failed on not wanting to override a tag. The workaround is to
delete the plugin remotely:

```
rm ~/.nodenv/plugins/node-build/ -rf
```

I don't think it's worth integrating into Ansible. It would be better to
switch to a bash script installing node.
  • Loading branch information
mkllnk committed Jan 3, 2025
1 parent 6b1b6cf commit c860bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/node/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nodenv_plugins:
# Allow installation of node versions
- name: "node-build"
repo: "https://github.com/nodenv/node-build.git"
version: master
version: main
# Automatically install yarn after installing node
- name: "nodenv-yarn-install"
repo: "https://github.com/pine/nodenv-yarn-install"
Expand Down

0 comments on commit c860bb1

Please sign in to comment.