A mi me funcionó lo que encontre en CodeDocu Developer, se remplaza {}{}
por +
Antes
const response = await fetch("https+
Antes://restcountries.com/v3.1/name/${name}" despues const response = await fetch("https
const response = await fetch("https://restcountries.com/v3.1/name/${name}"
Después://restcountries.com/v3.1/name/" +name)
const response = await fetch("https://restcountries.com/v3.1/name/" +name)