Skip to content

NotFoundHttpException in RouteCollection.php line 143 #5

@ghost

Description

Hi,

I have added "latrell/swagger": "^1.0" to my Composer file and I have Swagger and Swagger UI up and running well locally in my browser on a Windows based machine.

However when I deploy to Staging or Production, on a Linux based machine, when I try to access /api-docs I only get : NotFoundHttpException in RouteCollection.php line 143

The 'php artisan:list' command shows the /api-docs and /api-docs/docs/{page?} routes are in place on the Local Windows machine only.

However running 'php artisan:list' on the staging server doesn't show /api-docs and /api-docs/docs/{page?} routes.

Composer.json and composer.lock files are the same on blog local and Staging. On both I have dumped the autoload as well as deleted the Vendor folder and re-started by running composer install several times.

It always works well locally on a Windows PC but not on an Ubuntu 14.04 LTS 64 bit version. Both have the same code, same folder permissions etc.

can anyone help with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions