The "Example" link on http://www.passportjs.org/packages/passport-local/ points to a non existing github page.
<a href="https://github.com/jaredhanson/passport-local/tree/master/examples">examples</a>
This should probably be https://github.com/jaredhanson/passport-local/wiki/Examples as in the README of passport-local repo