CodelyTV / dotly

🌚 Modular and easy to customize dotfiles framework
https://codely.com/cursos
MIT License
1.2k stars 117 forks source link

Package dump error #235

Open usarral opened 1 year ago

usarral commented 1 year ago

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
gtrabanco commented 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.