title: jhipster based nhipster server start error
body: <p>I am trying to generate Angular NestJS based application using Jhipster i.e, nhipster.
  Below is my jhipster and nodejs version numbers:</p>
  <p>Jhipster : 7.7.0
  NodeJS: 16.14.0 LTS</p>
  <p>But I am getting the below error, when I am trying to start the server:</p>
  <p>Error:</p>
  <pre><code>/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:240
      return new TSError(diagnosticText, diagnosticCodes)
             ^
  TSError: ⨯ Unable to compile TypeScript:
  src/client/header-util.ts:56:19 - error TS2552: Cannot find name 'URL'. Did you mean 'url'?
  
  56         url = new URL('http://localhost' + url);
                       ~~~
  
    src/client/header-util.ts:55:32
      55     private static prepareLink(url, pageNumber, pageSize, relType): any {
                                        ~~~
      'url' is declared here.
  
      at createTSError (/Users/kmadasu/kishore/mnkb/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:240:12)
      at reportTSError (/Users/kmadasu/kishore/mnkb/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:244:19)
      at getOutput (/Users/kmadasu/kishore/mnkb/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:360:34)
      at Object.compile (/Users/kmadasu/kishore/mnkb/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:393:11)
      at Module.m._compile (/Users/kmadasu/kishore/mnkb/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:439:43)
      at Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
      at Object.require.extensions.&lt;computed&gt; [as .ts] (/Users/kmadasu/kishore/mnkb/projects/nhipster/mauto/server/node_modules/ts-node/src/index.ts:442:12)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      at Module.require (node:internal/modules/cjs/loader:1005:19)
  [nodemon] app crashed - waiting for file changes before starting...
  </code></pre>