ufodisko's avatar

ufodisko liked a comment+100 XP

5mos ago

Had this same problem a couple of weeks ago; problem with Rust coreutils apparently. Reverting to GNU stty solved the problem for now

ufodisko's avatar

ufodisko started a new conversation+100 XP

5mos ago

I'm on Kubuntu (25.10) and I just tried creating a new laravel app using the laravel installer laravel new myapp and got this error

In Terminal.php line 114: stty: invalid argument '4500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'

new [--dev] [--git] [--branch BRANCH] [--github [GITHUB]] [--organization ORGANIZATION] [--database DATABASE] [--react] [--vue] [--livewire] [--livewire-class-components] [--workos] [--no-authentication] [--pest] [--phpunit] [--npm] [--pnpm] [--bun] [--yarn] [--boost] [--using [USING]] [-f|--force] [--]

So I used composer to install it composer create-project --prefer-dist laravel/laravel myapp and it worked but I got the same error again when I tried to create a new filament panel after installing Filament php artisan filament:install --panels:

RuntimeException 
    
stty: invalid argument '4500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'
    
at vendor/laravel/prompts/src/Terminal.php:114
        $stderr = stream_get_contents($pipes[2]);
        $code = proc_close($process);

         if ($code !== 0 || $stdout === false) {
            throw new RuntimeException(trim($stderr ?: "Unknown error (code: $code)"), $code);
        }
 
        return $stdout;
}
    
+19 vendor frames 
    
20  artisan:16
    Illuminate\Foundation\Application::handleCommand()