The system cannot find the path specified
mahmoudmohamedramadan opened this issue · 3 comments
Laravel Prompts Version
0.1.0
Laravel Version
10.10
PHP Version
8.1
Operating System & Version
Windows 10 Enterprise
Terminal Application
bash Terminal
Description
I used text
and search
methods in my command class then when I run the command this error is raised The system cannot find the path specified, after that when I tried to open TextPrompt
(for example) I found that the class not exists.
Steps To Reproduce
When I use any method of that package this error message The system cannot find the path specified is raised.
Hey @mahmoudmohamedramadan, are you running Prompts in WSL or just native Windows?
Unfortunately, it's not currently possible to use Prompts in native Windows due to environmental limitations (see laravel/docs#8924 (comment) for more information)
Once we've merged laravel/framework#46772 into Laravel, the prompts should automatically fall back to Symfony prompts in unsupported environments.
I've created PR #20 to display a more helpful error message when running in an unsupported environment without a fallback.
Awesome, thank you!