Closed Murderlon closed 3 years ago
Can you repro with Fisher?
The problem is missing initialization of the nvm_mirror
and nvm_data
variables.
I don't know enough about how fundle and fish plugins work, but I assume the function _nvm_install
should be called automatically at some point in the process, but isn't.
You can fix the problem by calling _nvm_install
manually in the shell.
Just FYI, this issue still happens with a new install.
What issue exactly? Are you using Fisher? I'm going to need a bit more info to get going.
I've installed a brand new manjaro + fish-shell + fish-nvm (from AUR).
This constellation brought the error above.
nvm.fish should be installed and managed with Fisher, not AUR.
Tell that to the guy who mainains the AUR repo :)
I'll touch base quickly with him and direct his attention to this issue.
Haha, yeah 🤦. I understand why you might have thought it would work–I didn't assume it was your fault. Part of the issue is that these packages are beyond my control. There was/is an AUR package for Fisher too, and it generally works well I hear, but there are issues with updating the environment within the same shell after installation. This is because AUR, being an executable, cannot directly modify the current Fish session. Fisher integrates seamlessly with Fish.
With nvm.fish, the problem is worse because Fisher not only does that, but also handles install, update, and uninstall events for plugins within the same session, which AUR cannot do as far as I know.
I'll touch base quickly with him and direct his attention to this issue.
Thanks! They should add a note at least.
Hi, I'm on the latest fish shell (3.3.1) and I'm using
fundle
(latest) to installnvim.fish
. The install is successful, and runningnvm
works as well. But doing any kind ofnvm install
will result in the following errors.