progetto After clone da github ho ottenuto prossimo errore:app/bootstrap.php.cache: failed to open stream: No such file or directory
Warning: require_once(C:\OpenServer\domains\MyBlog.test\web/../app/bootstrap.php.cache): failed to open stream: No such file or directory in C:\OpenServer\domains\MyBlog.test\web\app_dev.php on line 20
Fatal error: require_once(): Failed opening required 'C:\OpenServer\domains\MyBlog.test\web/../app/bootstrap.php.cache' (include_path='.;c:/openserver/modules/php/PHP-5.5;c:/openserver/modules/php/PHP-5.5/PEAR/pear') in C:\OpenServer\domains\MyBlog.test\web\app_dev.php on line 20
Purtroppo in .gitignore file fondato nota successiva:
/app/bootstrap.php.cache
/var/bootstrap.php.cache
/bin/*
!bin/console
!bin/symfony_requirements
Quindi, come risolvere questo problema ?.
Eseguo il comando di aggiornamento php composer.phar, ma non è stato aiutato.
Mi ha aiutato! Grazie! – YuriiChmil
Il comando che devi eseguire per risolvere il problema è 'composer install' –
@ JoëlSalamin Prima che funzionasse per me, dovevo aggiungere la directory var agli extra https://knpuniversity.com/screencast/symfony3-upgrade/new-dir-struttura # mobile-bootstrap-php-cache –