Arduino Uploading Error Grove Board

You probably wiped out the bootloader when you used snap.
Exactly which grove board are you using?