verbb / xero

Other
1 stars 6 forks source link

Can't install 1.0.2 #4

Closed julienmarie closed 3 years ago

julienmarie commented 3 years ago

Hi, I get this error when doing composer require thejoshsmith/commerce-xero:1.0.2

Loading composer repositories with package information
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals
  - Locking calcinai/oauth2-xero (v1.0.4)
  - Locking calcinai/xero-php (v2.2.4)
  - Locking thejoshsmith/commerce-xero (1.0.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
  - Installing calcinai/oauth2-xero (v1.0.4): Extracting archive
  - Installing calcinai/xero-php (v2.2.4): Extracting archive
  - Installing thejoshsmith/commerce-xero (1.0.2): Extracting archive
    Install of thejoshsmith/commerce-xero failed
 3/3 [============================] 100%
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

  [InvalidArgumentException]
  Package is not installed: thejoshsmith/commerce-xero-1.0.2.0
julienmarie commented 3 years ago

Managed to make it work with composer require thejoshsmith/commerce-xero:1.0.2 -vvv --no-cache --prefer-source

moacode commented 3 years ago

Seems to be working OK for me (and a friend I got to test). Will re-open if it continues to be an issue for others.