Skip to content
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

The system cannot find the path specified #8

Closed
mahmoudmohamedramadan opened this issue Jul 28, 2023 · 3 comments · Fixed by #20
Closed

The system cannot find the path specified #8

mahmoudmohamedramadan opened this issue Jul 28, 2023 · 3 comments · Fixed by #20

Comments

@mahmoudmohamedramadan
Copy link

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.

@jessarcher
Copy link
Member

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.

@jessarcher
Copy link
Member

I've created PR #20 to display a more helpful error message when running in an unsupported environment without a fallback.

@mahmoudmohamedramadan
Copy link
Author

Awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants