FetchError: request to https://cdn.ampproject.org/rtv/metadata failed, reason: socket hang up

May 15, 2020

Personally, I got this message after running gatsby build. I don’t know why I got this error message, but I found it went away after I deleted the package-lock.json file and re-installed the packages (npm install).