title: TypeError: Cannot read properties of undefined (reading 'MethodInfo') in react js app using grpc-web
body: <p>I am using grpc-web to communicate with a java backend over gRPC. I am using ReactJS on the frontend which uses grpc-web to interpret the protobuffers.</p>
  <p>I am getting this strange error. My protos are correct ( I checked using a reflection tool called &quot;bloom&quot; so the backend is just fine) This somehow seems like an error internal to the grpc libraries I am using in ReactJS.</p>
  <p>I get the following error:</p>
  <p><code>TypeError: Cannot read properties of undefined (reading 'MethodInfo')</code></p>
  <p><strong>The above error points to my proto file: <em>dashboard_services_grpc_web_pb.js</em></strong></p>
  <p>In this file, it point to this line</p>
  <p><code>const methodInfo_DashboardService_userLogin = new grpc.web.AbstractClientBase.MethodInfo( ...... );</code></p>
  <p>I have a hard time solving this because according to my understanding, <code>grpc.web.AbstractClientBase</code> is something native to <code>grpc-web</code>.</p>
  <p>I have also reinstalled my node_modules in hopes that this is a version issue but no avail.</p>