Open Maaster opened 4 years ago
You should be able to run it. Try removing highcharts from the dependencies list in package.json
, then removing the command files that need it in the commands folder. Deleting bpm.js
and strains.js
should be enough.
I'm not happy with highcharts anyway and might replace it with some cleaner library in the future, but for now this should do.
Hope I could help!
That lets me run npm i
without problems and lets me config everything, but on npm start
it still searches for highcharts somewhere:
Ah right, it's loaded in osu.js
(in the root directory, not commands) which is basically needed for everything. If you change the line where highcharts is loaded to const highcharts = {}
it might happily run as long as highcharts isn't being called.
Edit: Remove the highcharts.initPool()
line too.
Alright, that runs the bot, thanks! :)
I take it anything that provides a video (!render, !fail, etc) wont work? I tried it and it produced a segmentation fault.
Segmentation fault could be anything, I guess a raspberry pi just doesn't have enough memory cause as of now there's no memory optimization whatsoever for rendering videos, it's optimized for maximum speed.
Weird, I got the 4GB RAM Version just to be on the safe side. How much would you say you need for it to run without big problems?
I can post a log later in the evening.
Hey,
just toyed around with this for a few days, Endresult is that Phantomjs (Dependency of highcharts) is not meant for arm architectures and as such cannot be properly installed/run on Raspberry PIs. As the project is also deprecated, there wont be any updates to that.
Its a long shot, but theres no way to remove highcharts from flowabot and have it run correctly, right? Or anything that would spring to your mind how I could make it run without phantomjs (or any way for me to install it)?
Thanks and sorry for bugging you so often about problems!