topgrade-rs / topgrade

Upgrade all the things
GNU General Public License v3.0
2.06k stars 141 forks source link

Each "node" upgrade requires "brew unlink node && brew link --overwrite node" to function again #984

Open lbonvarl opened 5 days ago

lbonvarl commented 5 days ago

Erroneous Behavior

Expected Behavior

Steps to reproduce

Possible Cause (Optional)

Problem persists without calling from topgrade

Did you run topgrade through Remote Execution

If yes, does the issue still occur when you run topgrade directlly in your remote host

Configuration file (Optional)

Additional Details

Verbose Output (topgrade -v)


SteveLauC commented 4 days ago

Each "node" upgrade

You mean updating the node itself rather than the things installed by node?

requires "brew unlink node && brew link --overwrite node" to function again

I guess your node is installed via Homebrew, and its self-update breaks the symlinks maintained by Homebrew.

lbonvarl commented 4 days ago

Hello I meant for node upgrade: topgrade -v --only node for example when there is a version upgrade of node. Indeed I install node via homebrew.

SteveLauC commented 4 days ago

I recommend disabling the node step and letting Homebrew manage it