title: Http2 Client in Angular 7
body: <p>I want to use http2 for client side in my angular project.
  I installed http2 with "npm install http2" command and I used sample client code in <a href="https://www.npmjs.com/package/http2" rel="nofollow noreferrer">http2-npm</a>.</p>
  
  <p>However, I'm getting below warning</p>
  
  <blockquote>
    <p>WARNING in ./node_modules/http2/lib/protocol/index.js 46:12-19</p>
    
    <p>Critical dependency: require function is used in a way in which
    dependencies cannot be statically extracted</p>
  </blockquote>
  
  <p>With F12 on the page, Console error;</p>
  
  <p>ERROR ReferenceError: process is not defined</p>
  
  <pre><code>at Object../node_modules/http2/lib/protocol/framer.js (framer.js:12)
  at __webpack_require__ (bootstrap:79)
  at Object../node_modules/http2/lib/protocol/endpoint.js (endpoint.js:3)
  at __webpack_require__ (bootstrap:79)
  at Object../node_modules/http2/lib/protocol/index.js (index.js:41)
  at __webpack_require__ (bootstrap:79)
  at Object../node_modules/http2/lib/http.js (http.js:136)
  at __webpack_require__ (bootstrap:79)
  at Object../node_modules/http2/lib/index.js (index.js:18)
  at __webpack_require__ (bootstrap:79)
  </code></pre>
  
  <p>Thus, I cannot get data from server using http2 client. How can I fix these problem?</p>