cakephp 3 failed to open vendor/autoload.php after cloning a git repository

Subhan

I have a git repository which is a simple cakephp3 application. (i cant share because that is private). i forked the repository and cloned it to my local directory, but as i open the url it gives me this error:

Warning: require(C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\vendor\autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\config\bootstrap.php on line 23 Fatal error: require(): Failed opening
required 'C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\vendor\autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\config\bootstrap.php on line 23

I also have composer installed and is recognizable. I'm using git bash.

the same repository is running fine on another machine.

Any help would be appreciated.

Update: I've tried it this way: I'm installing cakephp 3 using composer, it still gives me the same error.

composer create-project cakephp/app

I've also tried this but no luck.

Update:

with this command

 composer create-project --prefer-dist cakephp/app

the fresh installation worked.

Subhan

I've solved the problem. I downloaded the composer.phar file from packagist.org and executed the following commands in my application root.

php composer.phar install

Now i don't have that autoload.php issues.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Bitbucket cloning private git repository

From Dev

Cloning git repository failed using eclipse

From Dev

'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

From Dev

cloning git-repository from stash via ssh

From Dev

git - get latest file after initially cloning

From Dev

Cloning / Reading only history /log of a git repository

From Dev

error when cloning git repository with ssh

From Dev

SSH errors when cloning Git repository

From Dev

what determines default branch when cloning from git bare repository

From Dev

Setting Up Git Within PHPStorm Without Cloning a Repository

From Dev

Packfile is truncated error while cloning Git repository

From Dev

Gitlab prompts for git password when cloning a git repository

From Dev

git-tfs returns "(401) unauthorized" error when cloning a repository

From Dev

Git cloning a repository that is already a clone

From Dev

Issue with cloning git repository

From Dev

Git push rejected after cloning

From Dev

Push to bare git repository without cloning it beforehand

From Dev

Warning of RSA host key while cloning git repository

From Dev

Git conflict markers left after cloning

From Dev

Cloning Repository

From Dev

How to continue cloning a Git repository that the download was stopped?

From Dev

error when cloning git repository with ssh

From Dev

Git repository cloning with GitPython - repository not found Authentication Failed

From Dev

Cloning a git repository

From Dev

Jenkins : cloning remote git repository using https failed

From Dev

Does cloning a git repository create a connection to that source?

From Dev

git clone is not cloning recent version of a certain repository?

From Dev

Specific modules not Importing after cloning Git repository

From Dev

Cloning git repository inside another git repository

Related Related

  1. 1

    Bitbucket cloning private git repository

  2. 2

    Cloning git repository failed using eclipse

  3. 3

    'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

  4. 4

    cloning git-repository from stash via ssh

  5. 5

    git - get latest file after initially cloning

  6. 6

    Cloning / Reading only history /log of a git repository

  7. 7

    error when cloning git repository with ssh

  8. 8

    SSH errors when cloning Git repository

  9. 9

    what determines default branch when cloning from git bare repository

  10. 10

    Setting Up Git Within PHPStorm Without Cloning a Repository

  11. 11

    Packfile is truncated error while cloning Git repository

  12. 12

    Gitlab prompts for git password when cloning a git repository

  13. 13

    git-tfs returns "(401) unauthorized" error when cloning a repository

  14. 14

    Git cloning a repository that is already a clone

  15. 15

    Issue with cloning git repository

  16. 16

    Git push rejected after cloning

  17. 17

    Push to bare git repository without cloning it beforehand

  18. 18

    Warning of RSA host key while cloning git repository

  19. 19

    Git conflict markers left after cloning

  20. 20

    Cloning Repository

  21. 21

    How to continue cloning a Git repository that the download was stopped?

  22. 22

    error when cloning git repository with ssh

  23. 23

    Git repository cloning with GitPython - repository not found Authentication Failed

  24. 24

    Cloning a git repository

  25. 25

    Jenkins : cloning remote git repository using https failed

  26. 26

    Does cloning a git repository create a connection to that source?

  27. 27

    git clone is not cloning recent version of a certain repository?

  28. 28

    Specific modules not Importing after cloning Git repository

  29. 29

    Cloning git repository inside another git repository

HotTag

Archive