Azure-Samples / Azure-Samples/communication-services-web-calling-tutorial

Following README instructions do not result in running app locally

Offen
#171 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
57
Forks
77
Ø Merge
3 T. 15 Std.
Gemergte PRs (30 T.)
1

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Schritte im README unter „Before running the sample for the first time“ unter Windows 11 nachzustellen, und vergleiche dann die Skripte start-local und start in package.json mit den Port- und Host-Einstellungen in webpack.config.js. Bestätige, unter welcher lokalen URL der Entwicklungsserver bereitgestellt wird, und aktualisiere den dokumentierten Workflow, sodass beim Befolgen die App erfolgreich geöffnet wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, webpack
Bereich
developer-experience, tooling, web-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.