Azure-Samples / Azure-Samples/communication-services-web-calling-tutorial
Following README instructions do not result in running app locally
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 77
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 1
Description
### This issue is for a: (mark with an `x`)
```
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
### Minimal steps to reproduce
> Clone repo and follow README ## Before running the sample for the first time
### Any log messages given by the failure
> No failure in the console, but browser does not open the web app
### Expected/desired behavior
>When the browser is opened, the app is loaded
### OS and Version?
> Windows 11
### Versions
> Edge latest version
### Mention any other details that might be useful
Couple things that are suspicious:
Package.json
- "start-local": "webpack-dev-server --port 5000 --mode development",
- "start": "webpack-dev-server --host 0.0.0.0",
README
- 7. Open localhost:5000 in a browser. (Supported browsers are Chrome, Edge Chromium, and Safari)
- Deployment to Azure mentions, but it is not in the first section
- - "start-local" script. This will start the server on local machine at port 5000.
webpack.config.js
- const PORT = process.env.port || 8080;
So is it localhost/0.0.0.0 and 5000/8080 port? Can someone update the code/config/readme to make it work for local deployment?
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
Contributor guide
Assessment
This issue has not been assessed yet.