title: Target [Illuminate\Contracts\Routing\ResponseFactory] is not instantiable
body: <p>I am trying to return a response like this:</p>
  
  <pre><code>return response()-&gt;json(['name' =&gt; 'Abigail', 'state' =&gt; 'CA']);
  </code></pre>
  
  <p>however, I got error:</p>
  
  <pre><code>Target [Illuminate\Contracts\Routing\ResponseFactory] is not instantiable.
  </code></pre>
  
  <p>Any idea?</p>
  
  <p>Here is my composer.json:</p>
  
  <pre><code>{
    "name": "laravel/lumen",
    "description": "The Laravel Lumen Framework.",
    "keywords": [
      "framework",
      "laravel",
      "lumen"
    ],
    "license": "MIT",
    "type": "project",
    "require": {
      "php": "&gt;=5.5.9",
      "laravel/lumen-framework": "5.2.*",
      "vlucas/phpdotenv": "~2.2",
      "generationtux/jwt-artisan": "^0.1.7",
      "barryvdh/laravel-cors": "^0.8.0",
      "neomerx/cors-illuminate": "^1.1",
      "fenos/notifynder": "3.1.*",
      "franzose/closure-table": "^4.1",
      "mlntn/lumen-artisan-serve": "~1",
      "guzzlehttp/guzzle": "~6.0",
      "league/flysystem": " ~1.0",
      "bugsnag/bugsnag-laravel": "^2.0"
    },
    "require-dev": {
      "fzaninotto/faker": "~1.4",
      "phpunit/phpunit": "~4.0"
    },
    "autoload": {
      "psr-4": {
        "App\\": "app/",
        "GuzzleHttp\\": "/vendor/guzzlehttp/"
      },
      "classmap": [
        "database/"
      ]
    },
    "autoload-dev": {
      "classmap": [
        "tests/",
        "database/"
      ]
    },
    "config": {
      "preferred-install": "dist"
    }
  }
  </code></pre>