How to change Laravel project paths on a Windows machine?
This is my third time am installing laravel on windows, yet is still giving errors. After I changed the path%, I installed laravel but i got this:
:xampphtdocs>laravel
‘laravel’ is not recognized as an internal or external command,
operable program or batch file.
C:xampphtdocs>composer global require "laravel/installer"
Changed current directory to C:/Users/Isoft/AppData/Roaming/Composer
Using version ^2.0 for laravel/installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files.
This is my paths:
C:UsersIsoft>echo %path%
C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShell.0C:Program FilesNodejs;C:xamppphp;C:ProgramDataComposerSetupbin;C:/Users/Isoft/AppData/Roaming/Composer;C:xampphtdocslaravel;C:Windowssystem32cmd.exe;~/.composer/vendor/bin;C:Program FilesnodejsC:UsersIsoftAppDataRoamingComposervendorbin;C:Program Filesnodejsnode_modulesnpm;C:UsersIsoftAppDataRoamingComposervendorbin ;C:UsersIsoftAppDataRoamingnpm.
Please, can anyone help me sort out the error here, thanks.
from Laravel Questions and Answers https://laravelquestions.com/laravel/how-to-change-laravel-project-paths-on-a-windows-machine/
via Lzo Media
No comments:
Post a Comment