dotly icon indicating copy to clipboard operation
dotly copied to clipboard

Package dump error

Open usarral opened this issue 2 years ago • 1 comments

When I use dot package dump it return's error when using nvm

ls: no se puede acceder a '/usr/local/lib/node_modules': No existe el fichero o el directorio

usarral avatar Feb 06 '23 19:02 usarral

{ [[ -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.

gtrabanco avatar May 08 '23 11:05 gtrabanco