EnvironmentVariablesManager and Storage implementation does not compile

I’m trying to implement the recommended (documented) usage for EnvironmentVariablesManager and Storage in a react app. The @google-cloud/paginator dependency appears to be incompatible:

Module “stream” has been externalized for browser compatibility. Cannot access “stream.Transform” in client code.
Uncaught TypeError TypeError: Class extends value undefined is not a constructor or null

I assume this is due to some configuration issue in my app, though I have not been able to resolve it. Any suggestions?

@ASalchert Some background on what your environment is would help.

  • Did you start from a template project?
  • Are you using nodejs for server side or something else?
  • What’s your setup?