Script cache:clear returned with error code 255
Finally, the problem is solved!!
First: how i did to get the error!
- I have a symfony 4.2 installed application in a folder called my-project
- I copied the content of the project to another folder called my-App using CTRL-C then CTRL-V (copy-paste)
- I put it to my gitlab project
- My friend cloned the project and run Composer install and He got the Error "Script cache:clear returned with error code 255"
Second: How did we solve this!
Actually, when you make a CTRL-C and CTRL-V to the content of the symfony project folder, you are not copying everything, all the .flies (dot files example .env, .test, .gitignore) are hidden.
in order to copy the other hidden files such as .env you should open your terminal and type "cp .env (to your location)" in my case, it was "cp .env ~/Desktop/newApp"
hint: in order to display all the folders and files in a folder use "ll" instead of "ls" command
thanks, guys