Fix the require to reference server instead of app for 2.x