Open iarata opened 5 months ago
do you have a ~/.local/state
directory? maybe fnm can't write to it?
@Schniz I have the ~/.local/state
folder and the owner is set to root with drwxr-xr-x
. Is this a new feature for fnm to use this path?🤔
Yes although maybe there's an error in the lookup (we need to see if the previous runtime directory exists and we probably fail to do that)
Hey all, I also have same issue at the moment after the latest update. I use brew for installation before. I have macOS Sonoma 14.5
error: Can't create the symlink for multishells at "/Users/UserName/.local/state/fnm_multishells/36913_1717662822882". Maybe there are some issues with permissions for the directory? No such file or directory (os error 2)
I was able to resolve it by following steps
After I updated fnm with homebrew running
fnm env
(with and without--use-on-cd
) resulted in the following error:error: Can't create the symlink for multishells at "/Users/[user]/.local/state/fnm_multishells/23119_1717475228481". Maybe there are some issues with permissions for the directory? No such file or directory (os error 2)
I have removed and reinstalled the fnm both using the script and just homebrew but the issue still exists (I also checked, and there is no such folder as
fnm_multishells
instate
)Environment: