Skip to content

"php artisan migrate" error #362

@AlexeyPla

Description

@AlexeyPla

when i run

php artisan migrate

i gat an error:

> Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /var/www/html/laravel-gitscrum/bootstrap/app.php on line 14
> 
> Error: Class 'Illuminate\Foundation\Application' not found in /var/www/html/laravel-gitscrum/bootstrap/app.php on line 14
> 
> Call Stack:
>     0.0009     377384   1. {main}() /var/www/html/laravel-gitscrum/artisan:0
>     0.0160     483000   2. require_once('/var/www/html/laravel-gitscrum/bootstrap/app.php') /var/www/html/laravel-gitscrum/artisan:18

and when a try to execute

composer update --no-scripts

i get

> Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
> 
> Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.#

how to fix this issue ?


PHP 7.1.15

uname -a

Linux 0ff336566319 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions