frintjs / frint

Modular JavaScript framework for building scalable and reactive applications
https://frint.js.org/
MIT License
756 stars 37 forks source link

Frint Web App crashes during Browser refresh #443

Open subzw0rld opened 4 years ago

subzw0rld commented 4 years ago

I recently used the Frint multi apps demo to develop a POC, however whenever I load the app on browser I get the following error on the console

Uncaught TypeError: i.forEach is not a function
    at Object.<anonymous> (index.js:9)
    at r (bootstrap:19)
    at bootstrap:83
    at core.js:1
    at universalModuleDefinition:7
    at universalModuleDefinition:1

The error occurs in the following line:

apps.forEach(app.push); Screenshot 2020-09-15 at 01 45 07 Screenshot 2020-09-15 at 01 45 54

While the application runs fine despite the error, however when the browser is refreshed then the application fails to load. I also have attached the screenshots.