I have a node.js script that works perfectly when running from command line, but when I try to use it as a function fails.
const functions = require(\'firebas