Symfony 5 and sudo commad using Windows 10

孤街醉人 提交于 2021-02-11 12:19:07

问题


I am following Fabien Potencier's book "Symfony 5: The Fast Track". I develop the project using Windows 10 pro 64 bit. The author of the book, however, works with Linux. In chapter 27 the following command should be executed, which works on Linux, but not on Windows 10:

sudo API_ENDPOINT = 'symfony var: export SYMFONY_DEFAULT_ROUTE_URL --dir = ..' yarn encore dev

I have installed Sudo for Windows, but the problem is not solved.

How do I run this command on Windws 10?

来源:https://stackoverflow.com/questions/64271807/symfony-5-and-sudo-commad-using-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!