voyager: Can't access to the admin page in voyager 1.0

  • Laravel Version: 5.5.13
  • Voyager Version: 1.0
  • PHP Version:7.0.10
  • Database Driver & Version:MySql 5.7.14

Description:

Hello! After composer require tcg/voyager i run php artisan voyager:install --with-dummy .

All things are correct but at the end of my installation i got this issue:

`Attempting to set Voyager User model as parent to App\User Dumping the autoloaded files and reloading all new files

[Symfony\Component\Process\Exception\ProcessTimedOutException] The process “composer dump-autoload” exceeded the timeout of 60 seconds.`

And then can’t to my admin page. Need your help! Thanks

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (3 by maintainers)

Commits related to this issue

Most upvoted comments

@fletch3555 this’s because can’t load jquery screen shot 2017-09-27 at 8 12 34 pm

I guess I’ve found out what the problem is.

I have brought that line back into the picture but first I cancelled the timeout setting for the corresponding process:

$process = new Process($composer.' dump-autoload');
$process->setTimeout(null);
$process->setWorkingDirectory(base_path())->run();

With this in place, the voyager:install command ran without issues. Apparently, here in my environment the “composer dump-autoload” needs a bit more of time to fully run.