Capps0611 / DayZ-Player-Leaderboard-Bot

A bot that uses FTP connection to generate and display a leaderboard to a discord server using the DayZ Mod @Intenz-Leaderboard
MIT License
4 stars 3 forks source link

Leaderboard Bot Throwing errors before start #10

Closed meowimafruit closed 3 years ago

meowimafruit commented 3 years ago

Good Day,

When attempting to run the bot on the DayZ Host server // and on a local machine I am running into a code error, thus the bot not wanting to run.

When using nmp i npm WARN discord.js@11.6.4 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself. npm WARN dayz_player_leaderboard_bot@1.0.0 No repository field.

When using nmp start I get the following.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! dayz_player_leaderboard_bot@1.0.0 start: nodemon --ignore "playerJsons/" dayzPlayerLeaderboardBot.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dayz_player_leaderboard_bot@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-06-25T15_58_46_237Z-debug.log

C:\Users\Administrator\Desktop\Bot\DayZ-Player-Leaderboard-Bot-master\DayZ-Player-Leaderboard-Bot-master>

GGZzz313 commented 3 years ago

Hello, also getting this error. any resolution?

Capps0611 commented 3 years ago

Are you being sure you are running the command npm i and not nmp i? It looks like its just not installing correctly. Please send me the logs as well as a screenshot of you command window with the npm i command being run. I just did a fresh install and re-setup my settings.json file and the bot started without any issues.

Likely user error on your guys install.

Capps0611 commented 3 years ago

Due to lack of response, assuming issue is resolved. Please re-open if still having this error.

Error was likely user-input related error

GGZzz313 commented 3 years ago

sorry I did not see your reply, yes I am running nmp I. please see below

[image: image.png]

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Oct 4, 2021 at 4:14 AM Capps @.***> wrote:

Due to lack of response, assuming issue is resolved. Please re-open if still having this error.

Error was likely user-input related error

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Capps0611/DayZ-Player-Leaderboard-Bot/issues/10#issuecomment-932990972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEM6BSA3DV3U63IAGREWVMTUFCFQ7ANCNFSM47KMKOGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Warm regards,

Caden

GGZzz313 commented 3 years ago

Attached log

On Mon, Oct 4, 2021 at 12:49 PM Capps @.***> wrote:

Reopened #10 https://github.com/Capps0611/DayZ-Player-Leaderboard-Bot/issues/10.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Capps0611/DayZ-Player-Leaderboard-Bot/issues/10#event-5400872608, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEM6BSFW4O3SXSNNVL7EJYDUFEBY3ANCNFSM47KMKOGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Warm regards,

Caden

Capps0611 commented 3 years ago

Your image and log file didn't come through but based on what you said, you are still using the wrong command to install.

You want to use NPM i to install the packages. Copy and paste the below command and run it via command line where you installed the bot directory

npm i

Capps0611 commented 3 years ago

Closing due to lack of response