Getting weird web3 errors in React

We’re following the tutorials and docs, but when running the application we’re getting these errors

Here are the errors

Here’s the index.js

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { MoralisProvider } from "react-moralis";

const APP_ID = "removed for post"
const SERVER_URL = "removed for post"

  <MoralisProvider appId={APP_ID} serverUrl={SERVER_URL}>
      <App />

I am getting all the same errors. Maybe Moralis will patch in the future.

npm install web3
and try again