statamic / cli

Install and manage your Statamic projects from the command line.
71 stars 19 forks source link

New Command with Create a User Causes Error #15

Closed conradfuhrman closed 3 years ago

conradfuhrman commented 4 years ago

When running new site cli:

statamic new mysite

When the create a user shows up (yes/no) and you type yes the following warning and issue appears:

Checking for the latest version...PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /Users/conrad/.composer/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67

Warning: count(): Parameter must be an array or an object that implements Countable in /Users/conrad/.composer/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67
 [✔] 2.11.13
Downloading... [✔] From cache
Extracting zip... [✔]
Cleaning up... [✔]
Updating file permissions... [✔]
Create a user? (yes/no) [no]: yes
PHP Warning:  proc_open() expects parameter 1 to be string, array given in /Users/conrad/.composer/vendor/symfony/process/Process.php on line 310

Warning: proc_open() expects parameter 1 to be string, array given in /Users/conrad/.composer/vendor/symfony/process/Process.php on line 310

  [Symfony\Component\Process\Exception\RuntimeException]
  Unable to launch a new process.

new [--force-download] [--] <name>

Currently running PHP 7.3.7 from CLI Statamic CLI Tool 1.0.3

jasonvarga commented 3 years ago

Closing as the new version using v3 shouldn't be an issue.