Embarrasingly enough, this problem was due to reading the wrong instructions - in this case the instructions for the Linux platform rather than Windows! Many apologies
Laravel App tutorial fails, on git push
I'm following the tutorial at:
https://learn.microsoft.com/en-us/azure/app-service/tutorial-php-mysql-app?pivots=platform-linux
Everything seems to work until I get to the 'Push to Azure from Git' step. At that point, I get:
git push azure master
Enumerating objects: 264, done.
Counting objects: 100% (264/264), done.
Delta compression using up to 8 threads
Compressing objects: 100% (158/158), done.
Writing objects: 100% (264/264), 730.03 KiB | 73.00 MiB/s, done.
Total 264 (delta 75), reused 258 (delta 72), pack-reused 0
remote: Resolving deltas: 100% (75/75), done.
remote: Deploy Async
remote: Updating branch 'master'.
remote: Updating submodules.
remote: Preparing deployment for commit id '129845ca2b'.
remote: Running custom deployment command...
remote: Not setting execute permissions for bash deploy.sh
remote: Running deployment command...
remote: Kudu sync from: '/home/site/repository' to: '/home/site/wwwroot'
remote: Ignoring: .deployment
remote: Copying file: '.env.example'
remote: Copying file: '.gitattributes'
remote: Copying file: '.gitignore'
remote: Copying file: '.htaccess'
remote: Copying file: 'LICENSE'
remote: Copying file: 'LICENSE.txt'
remote: Copying file: 'README.md'
remote: Copying file: 'artisan'
remote: Copying file: 'composer.json'
remote: Copying file: 'composer.lock'
remote: Copying file: 'composer.phar'
remote: Ignoring: deploy.sh
remote: Copying file: 'package.json'
remote: Copying file: 'phpunit.xml'
remote: Copying file: 'server.php'
remote: Copying file: 'webpack.mix.js'
remote: Copying file: 'yarn.lock'
remote: Deleting file: 'hostingstart.html'
remote: Ignoring: .git
remote: Copying file: 'app/Task.php'
remote: Copying file: 'app/User.php'
remote: Copying file: 'app/Console/Kernel.php'
remote: Copying file: 'app/Exceptions/Handler.php'
remote: Copying file: 'app/Http/Kernel.php'
remote: Copying file: 'app/Http/Controllers/Controller.php'
remote: Copying file: 'app/Http/Controllers/Auth/ForgotPasswordController.php'
remote: Copying file: 'app/Http/Controllers/Auth/LoginController.php'
remote: Copying file: 'app/Http/Controllers/Auth/RegisterController.php'
remote: Copying file: 'app/Http/Controllers/Auth/ResetPasswordController.php'
remote: Copying file: 'app/Http/Middleware/EncryptCookies.php'
remote: Copying file: 'app/Http/Middleware/RedirectIfAuthenticated.php'
remote: Copying file: 'app/Http/Middleware/TrimStrings.php'
remote: Copying file: 'app/Http/Middleware/VerifyCsrfToken.php'
remote: Copying file: 'app/Providers/AppServiceProvider.php'
remote: Copying file: 'app/Providers/AuthServiceProvider.php'
remote: Copying file: 'app/Providers/BroadcastServiceProvider.php'
remote: Copying file: 'app/Providers/EventServiceProvider.php'
remote: Copying file: 'app/Providers/RouteServiceProvider.php'
remote: Copying file: 'bootstrap/app.php'
remote: Copying file: 'bootstrap/autoload.php'
remote: Copying file: 'bootstrap/cache/.gitignore'
remote: Copying file: 'config/app.php'
remote: Copying file: 'config/auth.php'
remote: Copying file: 'config/broadcasting.php'
remote: Copying file: 'config/cache.php'
remote: Copying file: 'config/database.php'
remote: Copying file: 'config/filesystems.php'
remote: Copying file: 'config/mail.php'
remote: Omitting next output lines...
remote: Running composer install
remote: ....
remote: Loading composer repositories with package information
remote: Installing dependencies (including require-dev) from lock file
remote:
remote:
remote: An error has occurred during web site deployment.
remote: [ErrorException]
remote: composer failed
remote: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Can anyone help, please?
TIA