<p>I'm facing an issue with the deployement of my Node.js application on my Kubernetes container.</p>
<p>The container is stuck on Crashlooping with this error &quot;Back-off restarting failed container&quot; and as error code i have this &quot;Reason: Error - exit code: 243&quot;</p>
<p>I did a describe of the pod i found nothing except the &quot;Back-off restarting failed container&quot; .
If someone could help that would be great thanks</p>

Blitz crank
<p>I'm not sure why this worked, but it seems to be something with using <code>npm run...</code> to start the node service. I experimented with changing my Docker file to launch the container using:</p>
<p><code>CMD npm run start</code></p>
<p>To just running the node command, using exactly what NPM should have been running, directly:</p>
<p><code>CMD node ...</code></p>
<p>EDIT:</p>
<p>In our environment it was an access problem. To get NPM working, we had to chown all the directories:</p>
<p><code>COPY --chown=${uid}:${gid} --from=builder /app .</code></p>
