Unable to start with Microsoft Learn sample
See original GitHub issueDescribe the bug
Unable to use with the MSLearn sample.
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/MicrosoftDocs/mslearn-staticwebapp-api.git
cd mslearn-staticwebapp-api/
cd react-app/
npm i
npm run build
cd ..
Can’t find the API:
swa --app-location react-app/build --api-location api-starter --api-prefix api
WARNING: SWA configuration not found.
>> detected runtime: unknown
[auth] Auth server listening on http://127.0.0.1:4242
[ api] No API found. Skipping.
[ app] Starting up http-server, serving /Users/antchu/source/temp/mslearn-staticwebapp-api/
[ app] Available on:
[ app] http://127.0.0.1:4200
[ app] http://192.168.187.204:4200
[ app] http://192.168.187.218:4200
[ app] Unhandled requests will be served from: http://0.0.0.0:80/?
[ app] Hit CTRL-C to stop the server
[ api] ([ -d '/Users/antchu/source/temp/mslearn-staticwebapp-api/api' ] && (cd /Users/antchu/source/temp/mslearn-staticwebapp-api/api; func start --cors *)) || echo 'No API found. Skipping.' exited with code 0
[ swa] >> SWA listening on 0.0.0.0:80
Desktop (please complete the following information):
- OS: macOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Troubleshooting Microsoft Learn
1. Open the Console in your browser, which is normally able to opened by pressing F12. · 2. In the Console window, retry...
Read more >Microsoft Learn frequently asked questions (FAQs)
Microsoft Learn training is completely free and available to anyone who has an interest to learn about Microsoft products. What types of content ......
Read more >Certification support - Microsoft Learn
Contact support. Area of support, How to contact us. Microsoft Certification exams and Microsoft Certifications, Your question may already be ...
Read more >Unable to start Access - Office | Microsoft Learn
Fixes an issue in which you can't launch Access because There is a permissions issue in the registry.
Read more >Frequently asked questions | Microsoft Learn
Yes. We have added 5 minutes to our exams to allow for unscheduled breaks that do not need to be requested in advance....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@anthonychu this issue should be fixed in
main
. Feel free to close it.@manekinekko perhaps just choose a port that is not one of the Vue, React, or Angular ones. Any port should be fine