statamic / cli

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

isTtySupported gives fatal error on when symfony/process is not v4 #14

Closed siegerhansma closed 5 years ago

siegerhansma commented 5 years ago

PHP Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Process\Process::isTtySupported() in /Users/siegerhansma/.composer/vendor/statamic/cli/src/Please.php:35

I already have version 3.4 installed so I'm getting a fatal error when I'm trying to run make:user.

ericrowan commented 5 years ago

Confirming the same error as @siegerhansma

jersonsramos commented 5 years ago

I encountered the same error

dstollie commented 5 years ago

For some reason this only happens when I run it locally on my Host machine (mac). When I'm running this inside the guest machine (ubuntu vagrant) the cli tool works perfect

jasonvarga commented 5 years ago

Thanks for the reports, everyone. We'll have the fix soon.

@dstollie You probably have symfony/process 3.4 on your host and 4.0 on your guest.

jasonvarga commented 5 years ago

Should be fixed in 1.0.5