Open usarral opened 1 year ago
{ [[ -d "$(npm config list --json | jq -r '.prefix')" ]] && echo "Prefix exists and it is $(npm config list --json | jq '.prefix')"; } || echo "Prefix not found"
I suggest you to use nvm or fnm you won't have these problems and you can switch between node versions.
When I use dot package dump it return's error when using nvm