This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Seth
Seth

Weird, after running:

composer require parse/php-sdk

When I navigated to "/backend" I got this message:

Missing vendor files, try running "composer install" or use the Wizard installer.

I ran composer update brings up no errors, neither does composer install. And yet this message remains.

Hmm it looks like composer.json was overwritten by composer require? Is that how that works? Surprised I haven't run into this before.. I'm going to snag the composer.json file from the git repo and see if that fixes it.

Nope, now I get this error when running composer update:

  [RuntimeException]

Could not scan for classes inside "tests/TestCase.php" which does not appear to be a file nor a folder

Sigh.. Okay rather than figure out why this is happening, I'm going to reinstall and be a little more diligent with my git commits (so I can easily restore).

Hmmm.. wait on initial install, no composer.json file is created, and yet there are files in the vendor folder? So if I create a composer.json file manually, all the vendor folders will be deleted apparently.. What... So how do I use composer.json to pull in the parse package?


Update: Okay, looking into this more, it looks like using composer is an all or nothing thing. https://octobercms.com/docs/console/commands#console-install

Guess I got to go the composer install route. Although I really like the installer for diagnosing problems with mcrypt and permissions..

Last updated

davidortizrueda24443
bogandix21245
bogandix21245

It happend to me also. The problem is that the initial distributin didn't have a composer.json file and the Octobercms bootstrap file can not load a file from a package which was removed by "composer update"

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.