The code is all on the server. After going to the local through git clone
, the locally configured project can be accessed normally. Different errors are always reported, and the error messages are similar. The corresponding class or corresponding method cannot be found. I don’t know why, so I’m waiting online!
The code is all on the server. After going to the local through git clone
, the locally configured project can be accessed normally. Different errors are always reported, and the error messages are similar. The corresponding class or corresponding method cannot be found. I don’t know why, so I’m waiting online!
I suspect that when you get the project code from the service, you git
do file filtering on the server. Check to see if there is a .gitignore
file in your project. If so, open it and see if you have a file or folder name. If it is likely to be filtered out, you will not be able to obtain the code and the program will report an error.
What you said above is correct. In addition, many projects are now managed by composer, so some class libraries are not included in the source code. You need to run composer install to install them yourself. The feature is very simple. If your project root directory has composer.json, it means composer is used. La.
If it is what is said above, you only need to run composer install in cmd