How to recover from command line error while upgrading silverstripe version 3.6.1 to 4.3.3
I have a website that uses SilverStripe version 3.6.1. I have set it up in localhost, PHP version 5.6 to upgrade its version from 3.6.1 to 4.3.3.
I am using Windows 10 system.
I am using command prompt of Windows.
I could run following command successfully.
composer global require silverstripe/upgrader
But when I am trying to run following command, I get error - Command “all” is not defined.
upgrade-code all --recipe-core-constraint=4.3.3 --namespace=“App\Web” --psr4
If I run upgrade-code recompose --recipe-core-constraint=4.1 --write command, I see Command “recompose” is not defined. error.
Same errors I get if I run above commands in Windows PowerShell.
Can you please suggest how to run above command without error?
// Include any relevant code. If you have a lot of code, link to a gist instead.