fix new path for modules

This commit is contained in:
philc 2024-11-10 08:20:16 +01:00
parent e9dbb374a0
commit 749320dfca
3 changed files with 2 additions and 10 deletions

View File

@ -1,6 +1,5 @@
//const { argv } = require("process"); //const { argv } = require("process");
const fs = require("fs-extra"); const fs = require("fs-extra");
//const mustache = require("mustache");
const bodyParser = require("body-parser"); const bodyParser = require("body-parser");
const glob = require("glob"); const glob = require("glob");
const path = require("path"); const path = require("path");
@ -21,6 +20,8 @@ apxtri.main = async () => {
); );
process.exit(0); process.exit(0);
} }
console.log("rrrrrrrrrrrrrrrrrrr")
console.log(path.resolve("../adminapi/objects/tribes/idx/tribes_dns.json"))
//Check prerequest data //Check prerequest data
if ( if (
fs.existsSync("../adminapi/objects/tribes/idx/tribes_dns.json") && fs.existsSync("../adminapi/objects/tribes/idx/tribes_dns.json") &&

View File

@ -1,9 +1,5 @@
const bcrypt = require("bcrypt"); const bcrypt = require("bcrypt");
const fs = require("fs-extra"); const fs = require("fs-extra");
const glob = require("glob");
const moment = require("moment");
const jwt = require("jwt-simple");
const UUID = require("uuid");
const conf = require(`../../../adminapi/objects/tribes/itm/adminapi.json`); const conf = require(`../../../adminapi/objects/tribes/itm/adminapi.json`);
const Checkjson = require(`./Checkjson.js`); const Checkjson = require(`./Checkjson.js`);
const Odmdb = require("./Odmdb.js"); const Odmdb = require("./Odmdb.js");

View File

@ -1,4 +1,3 @@
const bcrypt = require( 'bcrypt' );
const fs = require( 'fs-extra' ); const fs = require( 'fs-extra' );
const path = require( 'path' ); const path = require( 'path' );
const glob = require( 'glob' ); const glob = require( 'glob' );
@ -6,12 +5,8 @@ const Mustache = require( 'mustache' );
const execSync = require( 'child_process' ) const execSync = require( 'child_process' )
.execSync; .execSync;
const dnsSync = require( 'dns-sync' ); const dnsSync = require( 'dns-sync' );
const jwt = require( 'jwt-simple' );
const moment = require( 'moment' );
const UUID = require( 'uuid' );
const Pagans = require( './Pagans.js' ); const Pagans = require( './Pagans.js' );
const conf = require(`../../../adminapi/objects/tribes/itm/adminapi.json`); const conf = require(`../../../adminapi/objects/tribes/itm/adminapi.json`);
const Checkjson = require( `./Checkjson.js`);
/* /*
tribeid manager tribeid manager