-
Notifications
You must be signed in to change notification settings - Fork 418
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
Class 'Illuminate\Support\Arr' not found #665
Comments
Key generate is not part of lumen default commands, where did you get that? |
Like laravel, I thought i should generate a key. When i go to the url of my Lumen website, i got the same |
You have to generate that, but in other ways, anyway.. It's hard to determine the cause of the problem. I tryed the steps above with a fresh lumen installation and I do have the Arr.php in Have you reference that correctly? Try dumping the composer autoload first |
I seem to be having the same issue. Ran composer install on a fresh lumen installation, keep getting the 'Illuminate\Support\Arr not found' error. When I dig further in the vendor folder, the Arr.php indeed does not exist. Tried composer dumpautoload, composer clearcache and reinstall, no success. The Arr.php file is just gone.. Any ideas anyone? |
Ok, I did some research and it seems that some files are not being created when running composer install (I'm using version 5.0.1, Vagrant 1.8.5 & VirtualBox Guest Additions 5.1.12 with MacOS High Sierra 10.13.1) with the 'NFS' flag in the Homestead.yaml file. After commenting the NFS option and reloading homestead and rerunning composer install all files are created as they should and the project works again. Does anyone know why this is happening? @GrahamCampbell or @taylorotwell maybe? |
Ok, it seems to be an issue with MacOS High Sierra and the NFS option. Apple fixed it in High Sierra 10.13.2 (beta). This issue covers it and should clarify some things. I will try updating and I hope the problem is resolved after. |
Description:
I am trying to create a new lumen project.
After running
php artisan key:generate
the following error occourSteps To Reproduce:
lumen new <name>
cd <name>
composer install
cp .env.example .env
php artisan key:generate
The text was updated successfully, but these errors were encountered: