wearewondrous / fractal-twig-drupal-adapter

Twig template adapter for Fractal with Drupal 8 directives.
http://fractal.build
MIT License
13 stars 13 forks source link

Can't install with composer ( No valid composer.json was found) #2

Closed cristinallamas closed 7 years ago

cristinallamas commented 7 years ago
▶ composer require wondrousllc/fractal-twig-drupal-adapter:1.1.0 -vvv
Reading ./composer.json
Loading config file /Users/cristinallamas/.composer/auth.json
Loading config file ./composer.json
Checked CA file /usr/local/etc/openssl/cert.pem: valid
Executing command (/Users/cristinallamas/Sites/components): git branch --no-color --no-abbrev -v
Reading /Users/cristinallamas/.composer/composer.json
Loading config file /Users/cristinallamas/.composer/auth.json
Loading config file /Users/cristinallamas/.composer/composer.json
Loading config file /Users/cristinallamas/.composer/auth.json
Reading /Users/cristinallamas/.composer/auth.json
Reading /Users/cristinallamas/Sites/components/vendor/composer/installed.json
Reading /Users/cristinallamas/.composer/vendor/composer/installed.json
Loading plugin cweagans\Composer\Patches
Loading plugin DrupalComposer\DrupalScaffold\Plugin
Loading plugin Composer\Installers\Plugin
Loading plugin Drupal\Console\Composer\Plugin\Extender
Running 1.2.0 (2016-07-19 01:28:52) with PHP 7.1.3 on Darwin / 15.6.0
./composer.json has been updated
Reading ./composer.json
Loading config file /Users/cristinallamas/.composer/auth.json
Loading config file ./composer.json
Executing command (/Users/cristinallamas/Sites/components): git branch --no-color --no-abbrev -v
Reading /Users/cristinallamas/.composer/composer.json
Loading config file /Users/cristinallamas/.composer/auth.json
Loading config file /Users/cristinallamas/.composer/composer.json
Loading config file /Users/cristinallamas/.composer/auth.json
Reading /Users/cristinallamas/.composer/auth.json
Reading /Users/cristinallamas/Sites/components/vendor/composer/installed.json
Reading /Users/cristinallamas/.composer/vendor/composer/installed.json
Loading plugin cweagans\Composer\Patches_composer_tmp0
Loading plugin DrupalComposer\DrupalScaffold\Plugin_composer_tmp1
Loading plugin Composer\Installers\Plugin_composer_tmp2
Loading plugin Drupal\Console\Composer\Plugin\Extender_composer_tmp3
> pre-update-cmd: DrupalProject\composer\ScriptHandler::checkComposerVersion
Reading ./composer.lock
Loading composer repositories with package information
Downloading https://packages.drupal.org/8/packages.json
Writing /Users/cristinallamas/.composer/cache/repo/https---packages.drupal.org-8/packages.json into cache
Downloading https://api.github.com/repos/WondrousLLC/fractal_compound_handles
Downloading https://api.github.com/repos/WondrousLLC/fractal_compound_handles/contents/composer.json?ref=master
Downloading https://api.github.com/repos/WondrousLLC/fractal_compound_handles/commits/master
Downloading https://api.github.com/repos/WondrousLLC/fractal_compound_handles/tags?per_page=100
Reading composer.json of wondrousllc/fractal_compound_handles (1.2.0)
Reading /Users/cristinallamas/.composer/cache/repo/github.com/WondrousLLC/fractal_compound_handles/8fefdf0de5074ae84a31134e0fd00971b33c8a0a from cache
Importing tag 1.2.0 (1.2.0.0)
Reading composer.json of wondrousllc/fractal_compound_handles (1.1.0)
Reading /Users/cristinallamas/.composer/cache/repo/github.com/WondrousLLC/fractal_compound_handles/40ec98667006a23654fb12c6fbd030bbfa056ddb from cache
Importing tag 1.1.0 (1.1.0.0)
Reading composer.json of wondrousllc/fractal_compound_handles (1.0.1)
Reading /Users/cristinallamas/.composer/cache/repo/github.com/WondrousLLC/fractal_compound_handles/6bd754b82bab88001d0e526d6f3f80eb913c464c from cache
Importing tag 1.0.1 (1.0.1.0)
Reading composer.json of wondrousllc/fractal_compound_handles (1.0.0)
Reading /Users/cristinallamas/.composer/cache/repo/github.com/WondrousLLC/fractal_compound_handles/b33b5f96bb6e1eb26ee0ffb1b2153f3d854a64de from cache
Importing tag 1.0.0 (1.0.0.0)
Downloading https://api.github.com/repos/WondrousLLC/fractal_compound_handles/git/refs/heads?per_page=100
Reading composer.json of wondrousllc/fractal_compound_handles (master)
Reading /Users/cristinallamas/.composer/cache/repo/github.com/WondrousLLC/fractal_compound_handles/8339d3dae58e7fc1c789c8673fed65667306d874 from cache
Importing branch master (dev-master)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=master
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=master
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/tags?per_page=100
Reading composer.json of https://github.com/WondrousLLC/fractal-twig-drupal-adapter (v1.1.0)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=504be50a921f040e478f053d25bce7308faaf999
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=504be50a921f040e478f053d25bce7308faaf999
Skipped tag v1.1.0, no composer file
Reading composer.json of https://github.com/WondrousLLC/fractal-twig-drupal-adapter (v1.0.4)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=b9c5fe06976f8ead46bf1197d799b80336da81a1
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=b9c5fe06976f8ead46bf1197d799b80336da81a1
Skipped tag v1.0.4, no composer file
Reading composer.json of https://github.com/WondrousLLC/fractal-twig-drupal-adapter (v1.0.3)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=04b6fb7230c2e5dd0afbacdfdd1aa04605bc991d
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=04b6fb7230c2e5dd0afbacdfdd1aa04605bc991d
Skipped tag v1.0.3, no composer file
Reading composer.json of https://github.com/WondrousLLC/fractal-twig-drupal-adapter (v1.0.2)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=faa7c80f990e8393fa411209f941d9deac76a818
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=faa7c80f990e8393fa411209f941d9deac76a818
Skipped tag v1.0.2, no composer file
Reading composer.json of https://github.com/WondrousLLC/fractal-twig-drupal-adapter (v1.0.1)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=3bdae7f7d583dbbcd3612f92a379f183a333f6ed
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=3bdae7f7d583dbbcd3612f92a379f183a333f6ed
Skipped tag v1.0.1, no composer file
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/git/refs/heads?per_page=100
Reading composer.json of https://github.com/WondrousLLC/fractal-twig-drupal-adapter (master)
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=504be50a921f040e478f053d25bce7308faaf999
Downloading https://api.github.com/repos/WondrousLLC/fractal-twig-drupal-adapter/contents/composer.json?ref=504be50a921f040e478f053d25bce7308faaf999
Skipped branch master, no composer file
Installation failed, reverting ./composer.json to its original content.

  [Composer\Repository\InvalidRepositoryException]
  No valid composer.json was found in any branch or tag of https://github.com/WondrousLLC/fractal-twig-drupal-adapter, could not load a pack
  age from it.
tassilogroeper commented 7 years ago

@cristinallamas thanks for reporting. But this is not a composer package. Please use npm or yarn to install this into your node_module folder as stated in the readme.

$ npm install --save @wondrousllc/fractal-twig-drupal-adapter