Skip to content

Following README instructions do not result in running app locally #171

@tomaschladek

Description

@tomaschladek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions