Update:
Changing "require('pixelbox/pointer')" to "require('pixelbox/pointerEvents')" in main.js lets me run the code without receiving on error, however the code still does not seem to work properly. It seems that nothing is displayed on screen until collision is detected.
I'll continue to update if I make any more progress.