Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when generating Laravel Blade files #699

Open
1 task done
mobreviews opened this issue Jul 19, 2023 · 1 comment
Open
1 task done

Error when generating Laravel Blade files #699

mobreviews opened this issue Jul 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mobreviews
Copy link

Scribe version

4.22

PHP version

8.1.17

Framework

Laravel

Framework version

10.15.0

Scribe config

title => "MobReviews API"
laravel.docs_url => "/api/docs"
try_it_out.enabled => false
try_it_out.use_csrf => true
auth.enabled => true
auth.default => true
logo => "../img/logo.webp"

What happened?

After running generate it processes all of the routes extracts intro and auth Markdown files but when it gets to Writing Blade docs I get this error.
local.ERROR: rename(): The first argument to copy() function cannot be a directory {"exception":"[object] (ErrorException(code: 0): rename(): The first argument to copy() function cannot be a directory at /app/vendor/knuckleswtf/scribe/src/Writing/Writer.php:176)

Docs

@mobreviews mobreviews added bug Something isn't working triage labels Jul 19, 2023
@shalvah
Copy link
Contributor

shalvah commented Aug 26, 2023

This is strange. Where does this happen, your local machine or a server? Also, what type of docs are you generating? Your config indicates it's static type, but that section of code is only executed for laravel type.

@shalvah shalvah removed the triage label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants