TimboKZ / discord-spoiler-bot

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

Impossible to build #30

Closed XenHat closed 5 years ago

XenHat commented 5 years ago

note: I'm fairly new to Node.JS but I'm an experienced Linuxian, bash, C++ and C# programmer. After a full hour trying different things, I find myself unable to build and run my own copy of this bot. I have failed compiling the various dependencies on both Windows 10 x86_64 and Dockerized Ubuntu.

The main culprint appears to be libsodium and opus which won't work by using the Ubuntu's package, and I cannot manage to build it at all, despite following various instructions from other bug trackers and projects with the same error message I am getting.

And I'm not even going to go into the incredible amount of warnings while compiling the dependencies.

How am I supposed to run this?

TimboKZ commented 5 years ago

As an experienced Linuxian, you should be used to this kind of thing - keep trying, it’ll work eventually.

XenHat commented 5 years ago

That's insanity. Good luck with your project. EDIT: See below. 😆

TimboKZ commented 5 years ago

That’s how we Linux people roll, welcome to the club 😉

XenHat commented 5 years ago

As it turns out, there was no need to "Build" it. Serves me well, I didn't fully RTFM.

[Nov 4, 2018, 21:18] Discord Spoiler Bot is running!

For future reference, if anyone has any issues with npm install, this will do the trick: image

What I did was remove the dependencies inside package.json and re-installed them manually one by one with npm install <package>.

EDIT: canvas issue fixed.