Closed BallisticOK closed 2 years ago
and dont wary about the IP thats invalid its just what shows on the panel
just in case
/home/container/node_modules/node-fetch/lib/index.js:1491
reject(new FetchError(request to ${request.url} failed, reason: ${err.message}
, 'system', err));
^
FetchError: request to https://dbd-external-stats.assistants.ga/registerProject failed, reason: getaddrinfo EAI_AGAIN dbd-external-stats.assistants.ga
at ClientRequest.
there is the error
Please make sure ur using the latest version after domain change.
i'm using the latest
2.2.23?
yes
hello i fix it ;)
im getting a new problem now
/home/container/bot.js:234 const Dashboard = new DBD.Dashboard({ ^
TypeError: DBD.Dashboard is not a constructor
at Object.
(Don't do step 1, you are already on v2)
ya im just trying to figer this out xD
ignore altometra and capriham, just use dark
yours is done lot dif then mine i did not code all of my bot so i dont realy know what im doing
getting /home/container/bot.js:239 const Dashboard = new DBD.Dashboard({ ^
TypeError: DBD.Dashboard is not a constructor
at Object.
again
That's bcse ur not awaiting useLicense and doing DBD.Dashboard = DBD.UpdatedClass() before creating Dashboard
i do not know what you are talking about
"i did not code all of my bot" Which OpenSource project are you using?
one of my frends game me there bot code and he helped me set it started im just like realy new to javascript
Ask they to help you, you really don't understand what I'm saying, like you said - 'you're like really new to javascript'. They will understand what I'm saying and help (aKa sponfeed tho) you.
i dont like bing called a spoonfeeder unlike others i try
I see and that's true, but only spoonfeed will help you at this point, sadly.
im learning slowly just some thinks just go over my head atm but thx for trying
All you really need to do is make sure Dashboard is inited in this way: When you'll figure this out, it will be fixed.
like atm i fixed that problem but now im getting SyntaxError: await is only valid in async functions and the top level bodies of modules
and idk how to make a async functions
Ignoring Altometra, Capriham and DarkDashboard will be const DarkDashboard = require('dbd-dark-dashboard');
for you.
like atm i fixed that problem but now im getting SyntaxError: await is only valid in async functions and the top level bodies of modules
and idk how to make a async functions
you need to move your code to an async function
- async ()
tho:
(async()=>{
// YOUR CODE
})();
OMG I GOT IT thx thats all i needed to know
souldof sead that from the start lol but again THX
im getting this error when ever i try to use the Dashboard my bot dont even start