Local dev "npm start" does not work #4856
Replies: 4 comments 1 reply
-
These white pages often indicate that there is an issue with your LocalStorage data. |
Beta Was this translation helpful? Give feedback.
-
Thanks, |
Beta Was this translation helpful? Give feedback.
-
I never used the webpack dev server output, but directly go to hub.html. When I develop custom clients, I use URL like this:
Looks like webpack dev server is trying to embed the page, which does not work because Hubs uses a specific configuration when embedding and therefore you are missing an embed token in the parameters (&embed_token="something"). Try accessing it directly like the link above instead of the webpack server. A new issue could be made for "no feedback when missing embed token", it should be communicated more clearly in the interface I guess. Worst case you can find embed token from console: window.APP.hub.embed_token, but I dont think this is the proper way to set up a development environment. You may also find more resources in the hubs developer discord https://discord.gg/vYFEt9v4VH |
Beta Was this translation helpful? Give feedback.
-
Having the same issue did you find the solution? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
App Home page don't work.
Firstly it was appear for 0.1 sec only once by F5 refresh page, but it is disappear and screen is white blank.
To Reproduce
Steps to reproduce the behavior:
git checkout hubs-cloud
npm ci
npm run login
npm start
goto https://localhost:8080/webpack-dev-server/
Expected behavior
landing page should be appear.
Screenshots

Hardware
Additional context
backend version: Hubs Cloud Personal 1.1.2
┆Issue is synchronized with this Jira Task
Beta Was this translation helpful? Give feedback.
All reactions