lundi 27 février 2017

file_put_contents(..../bootstrap/cache/services.json): failed to open stream: No such file or directory

I did a fresh clone of my L5 project on my Mac OS.

Going to my site via Chrome, I kept getting this error

ErrorException in Filesystem.php line 81:
file_put_contents(/Applications/MAMP/htdocs/code/bunlong-web-app/bootstrap/cache/services.json): failed to open stream: No such file or directory

I already did :

chmod -R 777 bootstrap/ storage/ vendor/

and my file permissions look like this :

-rw-r--r--   1 bheng  staff     777 Feb 27 11:52 phpunit.xml
-rw-r--r--   1 bheng  staff      87 Feb 27 11:52 phpspec.yml
-rw-r--r--   1 bheng  staff     481 Feb 27 11:52 package.json
drwxr-xr-x   3 bheng  staff     102 Feb 27 11:52 note
-rw-r--r--   1 bheng  staff     967 Feb 27 11:52 md-bheng-readme.txt
-rw-r--r--   1 bheng  staff     503 Feb 27 11:52 gulpfile.js
drwxr-xr-x   5 bheng  staff     170 Feb 27 11:52 database
-rw-r--r--   1 bheng  staff      26 Feb 27 11:52 contributors.txt
drwxr-xr-x  13 bheng  staff     442 Feb 27 11:52 config
-rw-r--r--   1 bheng  staff  121337 Feb 27 11:52 composer.lock
-rw-r--r--   1 bheng  staff     949 Feb 27 11:52 composer.json
drwxrwxrwx   5 bheng  staff     170 Feb 27 11:52 bootstrap
-rw-r--r--   1 bheng  staff    1635 Feb 27 11:52 artisan
drwxr-xr-x  21 bheng  staff     714 Feb 27 11:52 app
-rw-r--r--   1 bheng  staff      43 Feb 27 11:52 Procfile
-rw-r--r--   1 bheng  staff       0 Feb 27 11:52 Icon?
-rw-r--r--   1 bheng  staff    5634 Feb 27 11:52 Gruntfile.js
drwxr-xr-x   4 bheng  staff     136 Feb 27 11:52 tests
drwxrwxrwx   5 bheng  staff     170 Feb 27 11:52 storage
drwxr-xr-x   4 bheng  staff     136 Feb 27 11:52 sql
-rw-r--r--   1 bheng  staff     560 Feb 27 11:52 server.php
drwxr-xr-x   5 bheng  staff     170 Feb 27 11:52 resources
-rw-r--r--   1 bheng  staff    1794 Feb 27 11:52 readme.md
-rw-r--r--   1 bheng  staff     105 Feb 27 11:52 pull.sh
drwxr-xr-x  24 bheng  staff     816 Feb 27 11:52 public
drwxrwxrwx  30 bheng  staff    1020 Feb 27 11:55 vendor

I tried

composer dump-autoload

I got

Generating autoload files

What elses I should look into ?

Is my permission set look okay ?

I just want to be able to see my site back.


I went to the file directory looking for the file that it looking for, and I didn't see it there.

enter image description here

Anyone know why my service.json is not get populated ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire