title: Cannot compile jhipster sample app nodejs app
body: <p>I have cloned jhipster-sample-app-nodejs from github (<a href="https://github.com/jhipster/jhipster-sample-app-nodejs" rel="nofollow noreferrer">link</a>).</p>
  
  <p>I have followed all instructions for compiling and running the application</p>
  
  <p>I have installed all the required tools to execute (npm, nodejs, yo)</p>
  
  <p>When I try to run my app with <code>npm start</code> this error message appears:</p>
  
  <pre><code>    return new TSError(diagnosticText, diagnosticCodes)
             ^
  TSError: ⨯ Unable to compile TypeScript:
  src/web/rest/user.controller.ts:29:54 - error TS2345: Argument of type 'string | Query | (string | Query)[]' is not assignable to parameter of type 'string | number'.
    Type 'Query' is not assignable to type 'string | number'.
      Type 'Query' is not assignable to type 'string'.
  
  29     const pageRequest: PageRequest = new PageRequest(req.query.page, req.query.size, req.query.sort);
                                                          ~~~~~~~~~~~~~~
  
      at createTSError (C:\Users\uname\Desktop\test\jhipster-sample-app-nodejs-master\server\node_modules\ts-node\src\index.ts:240:12)
      at reportTSError (C:\Users\unmae\Desktop\test\jhipster-sample-app-nodejs-master\server\node_modules\ts-node\src\index.ts:244:19)
      at getOutput (C:\Users\uname\Desktop\test\jhipster-sample-app-nodejs-master\server\node_modules\ts-node\src\index.ts:360:34)
      at Object.compile (C:\Users\uname\Desktop\test\jhipster-sample-app-nodejs-master\server\node_modules\ts-node\src\index.ts:393:11)
      at Module.m._compile (C:\Users\uname\Desktop\test\jhipster-sample-app-nodejs-master\server\node_modules\ts-node\src\index.ts:439:43)
      at Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
      at Object.require.extensions.&lt;computed&gt; [as .ts] (C:\Users\uname\Desktop\test\jhipster-sample-app-nodejs-master\server\node_modules\ts-node\src\index.ts:442:12)
      at Module.load (internal/modules/cjs/loader.js:1000:32)
      at Function.Module._load (internal/modules/cjs/loader.js:899:14)
      at Module.require (internal/modules/cjs/loader.js:1042:19)
  [nodemon] app crashed - waiting for file changes before starting...
  </code></pre>
  
  <p>Can someone helps me with this error?</p>
  
  <p>Thank you in advance.</p>