In `router.js` you are requiring in the `fs` module, which you're not using in this file. Your router file should only be requiring your `handlers` file.