The error message you are seeing here is specific to React and not related to HubSpot based on some external resources I've seen. I'm not overly familiar with React so I can't pinpoint the issue and help from there, but there are a number of external resources where this has come up where it looks like resolutions have been found that you may find helpful!