Hi team,
I am running a node-svn-ultimate library in the function node.
I am running n8n using docker even I use -e NODE_FUNCTION_ALLOW_EXTERNAL= node-svn-ultimate.
I am facing only an error in the function node.
here my code is,
let resStatus, resData;
function generate() {
return new Promise((resolve, reject) => {
svnUltimate.commands.info(
repoUrl,
config,
function (err, data) {
if (err) {
resStatus = "false";
resData = null;
resolve(resData)
} else {
resStatus = "true";
resData = data;
resolve(resData)
}
}
);
})
}
async function init() {
return await generate();
}
const res = await init();
I am getting the error like,
{ killed: false, code: 127, signal: null, cmd: svn info myUrl --xml myusername -- mypassword }
Can anyone tell me how to resolve this?
Thanks.