Go through every single step in this article, and you'll not get anything that resembles a deployed application. Here's some output from my deployment
09:02:25 BKKTeamsHelloWorld: Command: bash deploy.sh
09:02:25 BKKTeamsHelloWorld: deploy.sh: line 2: $'\r': command not found
09:02:25 BKKTeamsHelloWorld: deploy.sh: line 7: $'\r': command not found
09:02:25 BKKTeamsHelloWorld: deploy.sh: line 10: $'\r': command not found
09:02:25 BKKTeamsHelloWorld: deploy.sh: line 11: syntax error near unexpected token $'{\r''
09:02:25 BKKTeamsHelloWorld: deploy.sh: line 11:exitWithMessageOnError () {
09:02:25 BKKTeamsHelloWorld: '
09:02:25 BKKTeamsHelloWorld: deploy.sh: line 2: $'\r': command not found\ndeploy.sh: line 7: $'\r': command not found\ndeploy.sh: line 10: $'\r': command not found\ndeploy.sh: line 11: syntax error near unexpected token $'{\r''\ndeploy.sh: line 11:exitWithMessageOnError () {\n'\n/opt/Kudu/Scripts/starter.sh bash deploy.sh
On the other hand, the dialog box says the deployment was successful. So, I browse to the site created, but nothing. So apparently not.
Final step - gotta add app_bot_id and app_bot_password somewhere. Now, since the creation of my app happened through the Azure plugin for VS Code, I have not seen any, so I head over to the Azure portal to find the app_bot_id it presumably has created when creating my app, but there is no such thing anywhere.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Agreed very frustrating trying to follow this.
For others getting the above error In the Bottom Right hand corner of VSCode there is CRLF button. Click this and you'll have the option to change to LF.
After that it should deploy successfully.
Most helpful comment
Agreed very frustrating trying to follow this.
For others getting the above error In the Bottom Right hand corner of VSCode there is CRLF button. Click this and you'll have the option to change to LF.
After that it should deploy successfully.
https://askubuntu.com/questions/1036322/running-script-made-in-visual-studio-code-on-windows-on-wsl-ubuntu-returns-li