pantheon-systems / terminus-installer

Installer for Pantheon Terminus
MIT License
7 stars 6 forks source link

Updating Terminus: Composer could not find a composer.json file #44

Open north-krimsly-hp opened 4 years ago

north-krimsly-hp commented 4 years ago

I am currently running Terminus version 1.9.0 on Mac OS X Mojave 10.14.6, and PHP 7.1.23. I attempted to update to the latest Terminus version (2.2.0) using:

curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update

From the documentation here: https://pantheon.io/docs/terminus/updates

I navigated to /usr/local/bin/vendor/pantheon-systems/terminus/bin, which is where Terminus is currently installed, before executing the Curl command. Unfortunately, I got the following error. How can this be fixed? Thanks.

Updating Terminus... Composer could not find a composer.json file in /usr/local/bin/vendor/pantheon-systems/terminus/bin To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section