Skip to content

[Bug]: TTY mode is not supported on Windows platform. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ahmedtofaha10 opened this issue Jul 20, 2023 · 33 comments
Closed

[Bug]: TTY mode is not supported on Windows platform. #8

ahmedtofaha10 opened this issue Jul 20, 2023 · 33 comments
Labels
bug Something isn't working

Comments

@ahmedtofaha10
Copy link

What happened?

when i start by
native:serve i got this error
TTY mode is not supported on Windows platform.

How to reproduce the bug

i using a windows 11
i dont know if it's count

Package Version

0.1.0

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

No response

Notes

No response

@ahmedtofaha10 ahmedtofaha10 added the bug Something isn't working label Jul 20, 2023
@arif98741
Copy link

arif98741 commented Jul 20, 2023

Got same issue
Platform
Windows 10
PHP 8.2
Laravel 10.15

Screenshot_153

@SneherAdor
Copy link

It seems that NativePHP is not currently supported on the Windows platform.

@JulitoM3
Copy link

Got same issue Platform Windows 10 PHP 8.2 Laravel 10.15

Screenshot_153

as @mpociot said NativePHP is currently only for macOS

@arif98741
Copy link

Got same issue Platform Windows 10 PHP 8.2 Laravel 10.15
Screenshot_153

as @mpociot said NativePHP is currently only for macOS

Still need to wait for updates

@TungPham296
Copy link

I had the same error as above and I realized that it seems that all errors are caused by using laragon. Probably should try by running directly on windows without running through laragon.

@ZekyTheWolf
Copy link

Would be nice to have it mentioned in docs... :)

@TungPham296
Copy link

@ZekyTheWolf Try running on windows without going through laragon and let me know the result(Image). I have a lot of work to do so I can't try it yet.

@ZekyTheWolf
Copy link

@ZekyTheWolf Try running on windows without going through laragon and let me know the result(Image). I have a lot of work to do so I can't try it yet.

Done it, same result... Looks like its not currently for windows...

@thatal
Copy link

thatal commented Jul 21, 2023

Got same issue Platform Windows 11 PHP 8.1 Laravel 10.15.0

Screenshot_153

Me also getting the same error. So I went to symphony Process.php and manually set tty to false. Next it was showing Starting NativePHP app… but app never running or opening up.

image

@jumawilliam
Copy link

Same challenge here
Capture

@arif98741
Copy link

Got same issue Platform Windows 11 PHP 8.1 Laravel 10.15.0
Screenshot_153

Me also getting the same error. So I went to symphony Process.php and manually set tty to false. Next it was showing Starting NativePHP app… but app never running or opening up.

image

Yes. I also do.some changes. But no benefit

@diudiudiuu
Copy link

download

只能用WSL试试了

@Mohsen-mhm
Copy link

NativePHP is only for macOS right now, right?

@arif98741
Copy link

NativePHP is only for macOS right now, right?

yes

@lepresk
Copy link

lepresk commented Jul 21, 2023

But why it is only for macos loll!!!!

Capture

@Mohsen-mhm
Copy link

It was disappointing, however, we are waiting for Windows support😎👌

@ahmedtofaha10
Copy link
Author

Disappointed 😔

@rajibbinalam
Copy link

So, this is not for poor guys like me as a windows OS user right now. right?

@arif98741
Copy link

So, this is not for poor guys like me as a windows OS user right now. right?

Yeh. It's their idea regarding win users 🤐

@simonhamp
Copy link
Member

Windows support is coming. Free and open source software here folks, we're doing our best to get this out to you all as fast we can

Thanks for your support and patience 🙏🏼

@elhadiabdallah
Copy link

what about linux users :) ?

@JulitoM3
Copy link

what about linux users :) ?
Linux support is coming in few weeks

@drhoussem
Copy link

Got the same error

@NpaBackend
Copy link

Можно как то костыльно запускать его для windows?

@fahim27
Copy link

fahim27 commented Jul 22, 2023

Got the same issue

image

@MotionPhix
Copy link

Windows support is coming. Free and open source software here folks, we're doing our best to get this out to you all as fast we can

Thanks for your support and patience 🙏🏼

It would be very wise and save us time from trying things that won't work if you could mention that on in your docs so that people should try out of their own curiosity, not because you want more people to download it and start writing issues here, which, in true sense, are not issues at all. Just mention it in your docs, please. I was about to add it in a project that I had done half way, but an instinct. told me, No, let me create a new project. That's how I got saved from total dilemma.

@Rahisaiful
Copy link

Rahisaiful commented Jul 23, 2023

Development server starting on Windows 10, But the Desktop window does not open.

Screenshot_1

@lepresk
Copy link

lepresk commented Jul 23, 2023

Try this gist : https://gist.github.com/ShaneShipston/8bb7cabc423cf0cc64da0eacafa53171

@arif98741
Copy link

After exploring its worked. Thanks to https://gist.github.com/ShaneShipston/8bb7cabc423cf0cc64da0eacafa53171
Nativephp takes a lot of storage . As some modifications are done with node_modules, php and vendor . That's why it might be.
Who wants to explore can download this zip https://we.tl/t-DtMktUiY4Q

Then run
php artisan native:serve

@mpociot
Copy link
Member

mpociot commented Jul 29, 2023

The TTY mode is now disabled on windows

@mpociot mpociot closed this as completed Jul 29, 2023
@MotionPhix
Copy link

The TTY mode is now disabled on windows

What does that mean exactly? Can we now run nativephp on Windows or what? Because right now if I run php artisan native:serve I get:

Starting NativePHP dev server…
Fetching latest dependencies…

Starting NativePHP app…

There are no errors but still more no window opens up! I am running Windows 11 on HP Envy x360 Convertible, PHP 8.2, Laravel 10.

@Cyprien-png
Copy link

w disabled on windows

Still get this error from php artisan db

image

@mdr0414
Copy link

mdr0414 commented Jan 25, 2024

w disabled on windows

Still get this error from php artisan db

image

Same here ... brand new install on Windows 10, php 8.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests