Open tiger8888 opened 10 months ago
same on msys2
I think this issue may be related to https://github.com/Schniz/fnm/issues/390, I solved it using the following method:
# ~/.config/fish/conf.d/fnm.fish
fnm env --use-on-cd | /usr/bin/sed 1d | source;
set -gx PATH (/usr/bin/cygpath -u $FNM_MULTISHELL_PATH[2]) $PATH;
[~] uname -a
[~] which npm
[~] which node
[~] fnm exec --using=v14.21.3 node --version
[~] fnm exec --using=v14.21.3 npm --version
[~] npm -v