Azure-Samples / Azure-Samples/communication-services-web-calling-tutorial
Following README instructions do not result in running app locally
- Lingua principale
- JavaScript
- Stelle
- 57
- Fork
- 77
- Merge medio
- 3g 15h
- PR unite (30g)
- 1
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo su Windows 11 i passaggi di “Before running the sample for the first time” del README, quindi confronta gli script start-local e start in package.json con le impostazioni di porta e host in webpack.config.js. Conferma a quale URL locale il server di sviluppo serve l’applicazione e aggiorna il workflow documentato in modo che, seguendolo, l’app si apra correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, webpack
- Ambito
- developer-experience, tooling, web-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100