mpociot / laravel-apidoc-generator

Laravel API Documentation Generator
https://beyondco.de/docs/laravel-apidoc-generator/
MIT License
3.43k stars 614 forks source link

Error on Generating API HTML code #815

Open AlexGh12 opened 3 years ago

AlexGh12 commented 3 years ago

Generating API HTML code

ErrorException

copy(resources/docs/js/all.js): failed to open stream: No such file or directory

at vendor/mpociot/laravel-apidoc-generator/src/Writing/Writer.php:266

    262|             mkdir($publicPath, 0777, true);
    263|             mkdir("{$publicPath}/css");
    264|             mkdir("{$publicPath}/js");
    265|         }
->  266|         copy("{$this->sourceOutputPath}/js/all.js", "{$publicPath}/js/all.js");
    267|         rcopy("{$this->sourceOutputPath}/images", "{$publicPath}/images");
    268|         rcopy("{$this->sourceOutputPath}/css", "{$publicPath}/css");
    269| 
    270|         if ($logo = $this->config->get('logo')) {

      +17 vendor frames 

18 artisan:37

  Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))