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

bin/docgen doesnt work on windows #2253

Closed
clxmstaab opened this issue Oct 30, 2020 · 2 comments · Fixed by #2254
Closed

bin/docgen doesnt work on windows #2253

clxmstaab opened this issue Oct 30, 2020 · 2 comments · Fixed by #2254

Comments

@clxmstaab
Copy link
Contributor

Describe the bug

running php bin/docgen leads to

$ php bin/docgen
API Reference documentation updated.
PHP Warning:  mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190

Warning: mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190
PHP Warning:  file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\cakephp.md): failed to open stream: No such file or directory
 in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192

Warning: file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\cakephp.md): failed to open stream: No such file or directory in C
:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192
PHP Warning:  mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190

Warning: mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190
PHP Warning:  file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\codeigniter.md): failed to open stream: No such file or direc
tory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192

Warning: file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\codeigniter.md): failed to open stream: No such file or directory
in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192
PHP Warning:  mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190

Warning: mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190
PHP Warning:  file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\common.md): failed to open stream: No such file or directory
in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192

Warning: file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\common.md): failed to open stream: No such file or directory in C:
\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192
PHP Warning:  mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190

Warning: mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190
PHP Warning:  file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\composer.md): failed to open stream: No such file or director
y in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192

Warning: file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\composer.md): failed to open stream: No such file or directory in
C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192
PHP Warning:  mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190

Warning: mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190
PHP Warning:  file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\deploy\check_remote.md): failed to open stream: No such file
or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192

Warning: file_put_contents(C:\dvl\GitHub\deployer\bin/../docs/C:\dvl\GitHub\deployer\recipe\deploy\check_remote.md): failed to open stream: No such file or di
rectory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 192
PHP Warning:  mkdir(): No such file or directory in C:\dvl\GitHub\deployer\src\Documentation\DocGen.php on line 190
...

using

php -v
PHP 7.4.5 (cli) (built: Apr 14 2020 16:17:19) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

on windows 10x64

This was referenced Oct 30, 2020
@antonmedv
Copy link
Member

Does it work in WSL?

@clxmstaab
Copy link
Contributor Author

Does it work in WSL?

nope. with the fixes from #2254 it works in WSL, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants