This is when I try to deploy Laravel to a windows web app; I chooses win to change to root directory to ../public
I also followed Configure a PHP app for Azure App Service
...
Copying file: 'app\Http\Livewire\Rbac\Users.php'
Copying file: 'app\Http\Middleware\Authenticate.php'
Copying file: 'app\Http\Middleware\EncryptCookies.php'
Copying file: 'app\Http\Middleware\PreventRequestsDuringMaintenance.php'
Copying file: 'app\Http\Middleware\RedirectIfAuthenticated.php'
Omitting next output lines...
Looking for app.js/server.js under site root.
Missing server.js/app.js files, web.config is not generated
The package.json file does not specify node.js engine version constraints.
The node.js application will run with the default node.js version 0.10.40.
Selected npm version 1.4.28
Running "C:\Program Files (x86)\nodejs\0.10.40\node.exe" "C:\Program Files (x86)\npm\1.4.28\node_modules\npm\bin\npm-cli.js" install --production
npm ERR! Error: Method Not Allowed
npm ERR! at errorResponse (C:\Program Files (x86)\npm\1.4.28\node_modules\npm\lib\cache\add-named.js:260:10)
npm ERR! at C:\Program Files (x86)\npm\1.4.28\node_modules\npm\lib\cache\add-named.js:203:12
An error has occurred during web site deployment.
npm ERR! at saved (C:\Program Files (x86)\npm\1.4.28\node_modules\npm\node_modules\npm-registry-client\lib\get.js:167:7)
npm failed
npm ERR! at Object.oncomplete (fs.js:108:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files (x86)\\nodejs\\0.10.40\\node.exe" "C:\\Program Files (x86)\\npm\\1.4.28\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production"
npm ERR! cwd C:\home\site\wwwroot
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! code E405
Missing server.js/app.js files, web.config is not generated\r\nnpm ERR! Error: Method Not Allowed\r\nnpm ERR! at errorResponse (C:\Program Files (x86)\npm\1.4.28\node_modules\npm\lib\cache\add-named.js:260:10)\r\nnpm ERR! at C:\Program Files (x86)\npm\1.4.28\node_modules\npm\lib\cache\add-named.js:203:12\r\nnpm ERR! at saved (C:\Program Files (x86)\npm\1.4.28\node_modules\npm\node_modules\npm-registry-client\lib\get.js:167:7)\r\nnpm ERR! at Object.oncomplete (fs.js:108:15)\r\nnpm ERR! If you need help, you may report this *entire* log,\r\nnpm ERR! including the npm and node versions, at:\r\nnpm ERR! <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! System Windows_NT 6.2.9200\r\nnpm ERR! command "C:\\Program Files (x86)\\nodejs\\0.10.40\\node.exe" "C:\\Program Files (x86)\\npm\\1.4.28\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production"\r\nnpm ERR! cwd C:\home\site\wwwroot\r\nnpm ERR! node -v v0.10.40\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! code E405\r\nC:\Program Files (x86)\SiteExtensions\Kudu\92.30310.5111\bin\Scripts\starter.cmd bash deploy.sh