TimboKZ / discord-spoiler-bot

🗣️🛑 Spoiler support for Discord
https://www.npmjs.com/package/discord-spoiler-bot
MIT License
61 stars 19 forks source link

Works swimmingly on Windows but some errors on ubuntu #8

Closed flantig closed 7 years ago

flantig commented 7 years ago

I was able to get your bot running on windows but for some reason I get this error message when I try installing it on Ubuntu. I followed all of the prerequisate steps (for some reason on that page the command they give does not install npm or node, that has to be done seperately). Running the code does succesfully create a discord-spoiler bot folder as well. Running the index.js gives me another error message different from what you see here but it also includes a lack of package.json. Which package.json is it asking for?

ownagecat@ownagecat-desktop:~/node_modules$ npm install discord-spoiler-bot --save

loadDep:gifencoder → reso ▄ ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine discord.js@11.0.0: wanted: {"node":">=6.0.0"} (current: {"node":"4.2npm WARN saveError ENOENT: no such file or directory, open '/home/ownagecat/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/ownagecat/package.json' npm WARN discord.js@11.0.0 requires a peer of erlpack@hammerandchisel/erlpack#master but none was installed. npm WARN discord.js@11.0.0 requires a peer of node-opus@^0.2.0 but none was installed. npm WARN discord.js@11.0.0 requires a peer of opusscript@^0.0.1 but none was installed. npm WARN discord.js@11.0.0 requires a peer of uws@^0.12.0 but none was installed. npm WARN ownagecat No description npm WARN ownagecat No repository field. npm WARN ownagecat No README data npm WARN ownagecat No license field. ownagecat@ownagecat-desktop:~/node_modules$

TimboKZ commented 7 years ago

Number of issues I see with the output:

flantig commented 7 years ago

You're right, it was an outdated node.js. I had installed the wrong one. I'm literally an idiot. You don't happen to have a donation button?

On Mar 7, 2017 11:59 AM, "Tim K." notifications@github.com wrote:

Closed #8 https://github.com/TimboKZ/discord-spoiler-bot/issues/8.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TimboKZ/discord-spoiler-bot/issues/8#event-989929525, or mute the thread https://github.com/notifications/unsubscribe-auth/AZCgg7MhyaKAtVCZYjIKitLrhMrxY-hwks5rjYzhgaJpZM4MVuhH .

TimboKZ commented 7 years ago

Sadly, I don't. Thanks for the consideration though!