When running Hydra locally, clients connecting through the network fail to load p5.min.js. Site is looking for statically served file but not finding it. Adding p5.min.js to the public folder in the web-editor module fixes the problem. I can create a PR with the fix.
p5.min.js:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
css:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
bundle.min.js?1.3.8?lasjl:18 i18next::backendConnector: No backend was added via i18next.use. Will not load resources.
output @ bundle.min.js?1.3.8?lasjl:18
warn @ bundle.min.js?1.3.8?lasjl:18
forward @ bundle.min.js?1.3.8?lasjl:18
warn @ bundle.min.js?1.3.8?lasjl:18
prepareLoading @ bundle.min.js?1.3.8?lasjl:18
load @ bundle.min.js?1.3.8?lasjl:18
loadResources @ bundle.min.js?1.3.8?lasjl:18
setLng @ bundle.min.js?1.3.8?lasjl:18
changeLanguage @ bundle.min.js?1.3.8?lasjl:18
load @ bundle.min.js?1.3.8?lasjl:18
init @ bundle.min.js?1.3.8?lasjl:18
259../text-elements.js @ bundle.min.js?1.3.8?lasjl:32
o @ bundle.min.js?1.3.8?lasjl:1
(anonymous) @ bundle.min.js?1.3.8?lasjl:1
1../src/stores/language-store.js @ bundle.min.js?1.3.8?lasjl:1
o @ bundle.min.js?1.3.8?lasjl:1
r @ bundle.min.js?1.3.8?lasjl:1
(anonymous) @ bundle.min.js?1.3.8?lasjl:1
bundle.min.js?1.3.8?lasjl:18 i18next: languageChanged es-ES
bundle.min.js?1.3.8?lasjl:18 i18next: initialized Object
bundle.min.js?1.3.8?lasjl:32 Uncaught ReferenceError: p5 is not defined
at 254 (bundle.min.js?1.3.8?lasjl:32:161293)
at o (bundle.min.js?1.3.8?lasjl:1:265)
at bundle.min.js?1.3.8?lasjl:1:317
at 263../../lib/p5-wrapper.js (bundle.min.js?1.3.8?lasjl:35:265)
at o (bundle.min.js?1.3.8?lasjl:1:265)
at bundle.min.js?1.3.8?lasjl:1:317
at 271../EditorComponent.js (bundle.min.js?1.3.8?lasjl:74:175)
at o (bundle.min.js?1.3.8?lasjl:1:265)
at bundle.min.js?1.3.8?lasjl:1:317
at 1../src/stores/language-store.js (bundle.min.js?1.3.8?lasjl:1:689)
254 @ bundle.min.js?1.3.8?lasjl:32
o @ bundle.min.js?1.3.8?lasjl:1
(anonymous) @ bundle.min.js?1.3.8?lasjl:1
263../../lib/p5-wrapper.js @ bundle.min.js?1.3.8?lasjl:35
o @ bundle.min.js?1.3.8?lasjl:1
(anonymous) @ bundle.min.js?1.3.8?lasjl:1
271../EditorComponent.js @ bundle.min.js?1.3.8?lasjl:74
o @ bundle.min.js?1.3.8?lasjl:1
(anonymous) @ bundle.min.js?1.3.8?lasjl:1
1../src/stores/language-store.js @ bundle.min.js?1.3.8?lasjl:1
o @ bundle.min.js?1.3.8?lasjl:1
r @ bundle.min.js?1.3.8?lasjl:1
(anonymous) @ bundle.min.js?1.3.8?lasjl:1
cdn.glitch.com/597fe374-3d18-46a5-b99c-ceff1f8ffd79%2Ffavicon.png?1530891352785:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
When running Hydra locally, clients connecting through the network fail to load
p5.min.js
. Site is looking for statically served file but not finding it. Adding p5.min.js to thepublic
folder in theweb-editor
module fixes the problem. I can create a PR with the fix.