The code is all on the server. after gitclone to the local machine, the locally configured project can also be accessed normally. different errors are always reported and the error information is similar, the corresponding class or method cannot be found. I don't know why, online, etc! The code is all on the server.
Git clone
After the project is configured locally, different errors are reported and the error information is similar. the corresponding classes or methods cannot be found. I don't know why, online, etc!
Reply content:
The code is all on the server.Git clone
After the project is configured locally, different errors are reported and the error information is similar. the corresponding classes or methods cannot be found. I don't know why, online, etc!
I suspect that when you get the project code on the service, youGit
File filtering is performed on the server. Check whether your project has any. Gitignore
File. If yes, check if you have a file or folder name. If it is very likely to be filtered out, and you cannot get the code, the program reports an error.
Upstairs is correct. In addition, many projects are managed by composer. Therefore, some class libraries are not included in the source code and need to be installed by running composer install on your own. The features are very simple if the root directory of your project contains composer. json indicates that composer is used.
If this is what we call upstairs, you only need to run composer install in cmd.