title: Missing script output in Elastic Beanstalk engine log?
body: <p>I'm deploying a Node.js project on AWS Elastic Beanstalk. The projects uses the Prisma ORM which has a postinstall script that <a href="https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/generating-prisma-client" rel="nofollow noreferrer">generates the client</a>. This script was failing for me because I didn't include the prisma folder in my deployment bundle so the schema lookup failed.</p>
  <p>When I run <code>npm install</code> locally and the postinstall failes to find the schema I get the following output:</p>
  <pre><code>&gt; @prisma/client@3.6.0 postinstall /&lt;redacted&gt;/node_modules/@prisma/client
  &gt; node scripts/postinstall.js
  
  Environment variables loaded from .env
  prisma:warn The postinstall script automatically ran `prisma generate` and did not find your `prisma/schema.prisma`.
  If you have a Prisma schema file in a custom path, you will need to run
  `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
  If you do not have a Prisma schema file yet, you can ignore this message.
  </code></pre>
  <p>but when EB installed dependencies and the postinstall ran there was no such output in <code>eb-engine.log</code>:</p>
  <pre><code>&gt; @nestjs/core@8.1.1 postinstall /var/app/staging/node_modules/@nestjs/core
  &gt; opencollective || exit 0
  
  
  &gt; @prisma/client@3.6.0 postinstall /var/app/staging/node_modules/@prisma/client
  &gt; node scripts/postinstall.js
  
  added 114 packages from 89 contributors and audited 917 packages in 9.724s
  </code></pre>
  <p>I also tried looking through the other logs but couldn't find the warning text. Why is it not there?</p>