title: Error: Cannot find module/ApolloServer/protobufjs/minimal when starting ApolloServer for Express in production
body: <p>I am creating an ApolloExpressServer using TypeScript. The code runs fine when running in development mode using</p>
  <pre class="lang-sh prettyprint-override"><code>ts-node -r tsconfig-paths/register ./src --env=development
  </code></pre>
  <p>But after I build the project with <code>tsc --build tsconfig.prod.json</code> it builds successfully but fails when I try to start the server with <code>node -r module-alias/register ./dist</code></p>
  <p>It outputs an error</p>
  <pre><code>Error: Cannot find module '/dist/ApolloServer/protobufjs/minimal'
  Require stack:
  - /node_modules/apollo-engine-reporting-protobuf/dist/protobuf.js
  - /node_modules/apollo-engine-reporting-protobuf/dist/index.js
  - /node_modules/apollo-engine-reporting/dist/agent.js
  - /node_modules/apollo-server-core/dist/ApolloServer.js
  - /node_modules/apollo-server-core/dist/index.js
  - /node_modules/apollo-server-express/dist/index.js
  </code></pre>
  <p>I am currently using</p>
  <ul>
  <li><code>&quot;apollo-server-express&quot;: &quot;^2.17.0&quot;</code></li>
  <li><code>&quot;typescript&quot;: &quot;^3.9.3&quot;</code></li>
  </ul>
  <p>A link to the reproduction repo
  <a href="https://github.com/Oluwatemilorun/typescript-server" rel="nofollow noreferrer">https://github.com/Oluwatemilorun/typescript-server</a></p>