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

TypeError: appCache is undefined[Learn More] when serving 0.0.0.0 #5361

Open
xobs opened this issue Mar 18, 2019 · 0 comments
Open

TypeError: appCache is undefined[Learn More] when serving 0.0.0.0 #5361

xobs opened this issue Mar 18, 2019 · 0 comments
Labels

Comments

@xobs
Copy link

xobs commented Mar 18, 2019

Bug Template

Describe the bug
pxt serve is the only reliable way to share C++ code changes with others without deploying to makecode.com. By default, pxt serve binds to localhost. It is possible to tell pxt to bind to "ANY" by setting hostname to 0.0.0.0, however this produces very strange behavior.

To Reproduce
Steps to reproduce the behavior:

  1. Install a pxt project, such as https://github.com/xobs/pxt-chibitronics/tree/rainbow-tape
  2. Run pxt serve --hostname 0.0.0.0
  3. A browser window opens. Change the address to the non-local interface address
  4. See error

Expected behavior
The server should work normally, as long as the "local token" is presented.

Screenshots
Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.
image

@abchatra abchatra added the setup label Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants