Usually this error (There was an error invoking the function - Cannot read property ‘match’ of undefined
) occurs when you don’t get a 200
from your request, and you try to await response.json()
. Are you able to console.log
the entire response, or at least the response.status
to help determine what’s going wrong?
It doesn’t look like there’s anything wrong with your installations