Job exiting with error code 1 - npm err

Hello guys, I hope everyone is doing ok!

I have a problem, that the job I am trying to run is leaving with an error code 1. When checking the job execution logs, I noticed that it has the following error: npm ERR! Code ELIFECYCLE and no end he points to the following path:

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-12-09T17_01_21_514Z-debug.log

However, I already tried to access this path through the gitlab container, the runner container and also the server itself, and I couldn’t find this log at all. I will put below the job logs, the runner and the .gitlab-ci.yml file that I am using to deploy the application.

Job log

Runner log


And more informations about the envirorment tha I’m using to run the application:

CentOS Linux release 8.2.2004 (Core)

Docker version: 19.03.13, build 4484c46d9d

Gitlab version: 13.4.1 (c90be62bdef)

Runner version: 13.4.1

Thanks in advance to anyone who can help me with this problem.