MERN Quick Start Guide
上QQ阅读APP看书,第一时间看更新

Getting ready

In this recipe, we will see how to create a custom error handler. Before you start, create a new package.json file with the following content:

{ 
    "dependencies": { 
        "express": "4.16.3" 
    } 
} 

Then, install the dependencies by opening a terminal and running:

    npm install