Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomaschladek opened this issue Sep 13, 2023 · 0 comments
Open

Comments

@tomaschladek
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant