Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to build #30

Closed
XenHat opened this issue Nov 4, 2018 · 4 comments
Closed

Impossible to build #30

XenHat opened this issue Nov 4, 2018 · 4 comments

Comments

@XenHat
Copy link

XenHat commented Nov 4, 2018

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
Copy link
Owner

TimboKZ commented Nov 4, 2018

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

@TimboKZ TimboKZ closed this as completed Nov 4, 2018
@XenHat
Copy link
Author

XenHat commented Nov 4, 2018

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

@TimboKZ
Copy link
Owner

TimboKZ commented Nov 4, 2018

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

@XenHat
Copy link
Author

XenHat commented Nov 5, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants