I think the error gives enough message. Let's analyze it again. The success means the script NODE_ENV_VAR_LIST node dist/app.js arg1
was executed in the VM, if it does not succeed, then it means VM does not execute the command.
And the error after is about the command, it means there is something wrong with the command itself. And the issue is also clear, you use the relative path and it causes the issue. You need to use the absolute path for the app file in the command.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…