afaundez / nodenv-cookbook

Nodenv Chef Cookbook.
https://supermarket.chef.io/cookbooks/nodenv
MIT License
1 stars 4 forks source link

Error executing action `sync`: ! [rejected] v5 -> v5 (would clobber existing tag) #24

Open david-alpert-nl opened 3 months ago

david-alpert-nl commented 3 months ago

The nodenv_user resource can fail when the node-build github repo updates a tag:

---- Begin output of git fetch origin --tags ----
STDOUT:
STDERR: From https://github.com/nodenv/node-build
 ! [rejected]          v5         -> v5  (would clobber existing tag)
---- End output of git fetch origin --tags ----
Ran git fetch origin --tags returned 1

This seems related to #20 and seems to imply that we need a force flag on the git resource in the node-build cookbook 🤔