I’ve encountered a strange issue recently.
I'm using jsreport version 3.13.0, and my custom Dockerfile looks like this:
FROM jsreport/jsreport:3.13.0
RUN npm i client-oauth2@4.3.3 --save --save-exact
COPY --chown=jsreport:jsreport jsreport.config.json /app
In one of my scripts, I import the client-oauth2 library and use it according to the documentation (https://jsreport.net/learn/templating-engines). Everything works smoothly at first, but once the number of requests increases, I start getting the following error:
It seems that, at some point, dependencies from the tmp directory are being removed.
Does anyone know why this might be happening? Could there be something wrong with my configuration?