From c860bb128ff80f3c7971d40f7ef6439221ea66de Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 3 Jan 2025 14:19:13 +1100 Subject: [PATCH] Update node-build branch from master to main 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. --- roles/node/defaults/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/node/defaults/main.yaml b/roles/node/defaults/main.yaml index f4e5a43d3..39ec6fad5 100644 --- a/roles/node/defaults/main.yaml +++ b/roles/node/defaults/main.yaml @@ -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"