I am trying to start the pm2 web interface using the ecosystem.json file but the following configuration does not work:

```
{
"apps" : [{
"name"        : "web",
"script"      : "",
"args" : ["web"],
"env": {
   "NODE_ENV": "development",
   "PM2_API_IPADDR" : "localhost",
   "PM2_API_PORT" : "1234"
},
"env_production" : {
   "NODE_ENV": "production",
   "PM2_API_IPADDR" : "localhost",
   "PM2_API_PORT" : "1234"
},
"env_staging" : {
   "NODE_ENV" : "staging",
   "PM2_API_IPADDR" : "localhost",
   "PM2_API_PORT" : "1234",
   "TEST"     : true
}
}]
}

```