Hi,
I am also having the same issue and completing project out of the same book as well. I have actually left an issue open on GitHub. I see the code hasn't been updated in 5 years so I thinking there is a compatibility issue. Going to keep looking at it myself to see if I can fix it in the meantime.