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

ErrorException: scandir(C:\Users\emin\Dev\opio\app\Console/Commands,C:\Users\emin\Dev\opio\app\Console/Commands) #33

Closed
eminos opened this issue Apr 12, 2017 · 2 comments

Comments

@eminos
Copy link

eminos commented Apr 12, 2017

I've just installer Decoy on Laravel 5.4. (I'm really excited about Decoy!!)

I'm getting this error when logging in to the admin:

Method Illuminate\View\View::__toString() must not throw an exception, caught ErrorException: scandir(C:\Users\emin\Dev\opio\app\Console/Commands,C:\Users\emin\Dev\opio\app\Console/Commands): The system cannot find the file specified. (code: 2) (View: C:\Users\emin\Dev\opio\vendor\bkwld\decoy\views\layouts\sidebar\_nav.haml) (View: C:\Users\emin\Dev\opio\vendor\bkwld\decoy\views\layouts\sidebar\_nav.haml)

I'm on Windows, using latest Laragon (Apache, php 7.0).
Could this error be related to the Windows slash/backslash in file paths?
Laravel without Decoy works fine on my system.

@eminos
Copy link
Author

eminos commented Apr 12, 2017

Actually. I'm missing the Commands folder in /app/Console.
If I create the Commands folder admin seems to work.

@weotch
Copy link
Member

weotch commented Apr 12, 2017

👍

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

No branches or pull requests

2 participants