BlinkStick 8th blue LED not working (only pulse/morph, nodejs)

OK so I found the problem,

At that line, there is an off-by one error that somehow messes up. Since I don’t know the gritty details, I can’t tell what is going on but removing the “-1” in the buffer.slice parameters fixed my problem