node_modules are looked up locally, there isn't a global location that require() searches