Skip to content

Starter kit fails to extract #118

Open
@neclimdul

Description

@neclimdul

Error:

$ php core/console --starterkit --suggestions
configuring pattern lab...

suggested starterkits that work with this edition:

  1: pattern-lab/starterkit-twig-demo
  2: pattern-lab/starterkit-twig-drupal-minimal
  3: aleksip/starterkit-shila-drupal-theme
  4: forumone/starterkit-twig-drupal-gesso

choose an option or hit return to cancel: (ex. 1) > 3

downloading the starterkit. this may take a few minutes...
finished downloading the starterkit...
failed to extract the starterkit. easiest solution is to manually download it and copy <path>./dist</path to ./source/...

Editing Fetch.php to not swallow up the error, the actual error is that pattern-lab seems to pass an illegal combination of arguments to tar.

Unable to execute the following command '/bin/tar' '--extract' '--file=/tmp/pl-sk/pl-sk-archive.tar.gzUDLl04' '--overwrite-dir' '--overwrite' '--gzip' '--directory' '/tmp/pl-sk/pl-sk-archive' {output: /bin/tar: '--overwrite' cannot be used with '--overwrite-dir'
Try '/bin/tar --help' or '/bin/tar --usage' for more information.
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions