Forums
Hi there ! I tried to install a clean copy of Opigno 2.0 using composer as per the manual (https://opigno.atlassian.net/wiki/spaces/OUM20/pages/361922562/Installa…).
I used the following command :
composer create-project opigno/opigno-composer opigno_2_composer
I am getting the following error: - Installing mozilla/pdf.js (dev-master origin/gh-pages): Cloning origin/gh-pages from cache origin/gh-pages is gone (history was rewritten?)
[RuntimeException] Failed to execute git checkout 'origin/gh-pages' -- && git reset --hard 'origin/gh-pages' --
fatal: invalid reference: origin/gh-pages
I tried to continue the install using composer update but got the same error.
Any ideas on how to get the installation completed ?
Looks as though a composer
composer upgrade
was needed.composer upgrade Gathering patches for root package. > DrupalProject\composer\ScriptHandler::checkComposerVersion Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 103 installs, 3 updates, 0 removals Gathering patches for root package. Gathering patches for dependencies. This might take a minute. - Installing mozilla/pdf.js (dev-master origin/gh-pages): Cloning origin/gh-pages from cache - Installing drupal/platon (1.2.0): Loading from cache - Installing drupal/group (1.0.0-rc2): Loading from cache .... snip ....
With the same problem
In reply to With the same problem by sdiaz
installing with composer does not work
In reply to installing with composer does not work by Anaconda
Hi
Hi
You can have a look at Opigno user manual here:
https://opigno.atlassian.net/wiki/spaces/OUM20/overview
Installation of Opigno 2.0 with composer fails