Singularity icon indicating copy to clipboard operation
Singularity copied to clipboard

UI won't load with docker-compose deployment

Open gaborherman opened this issue 6 years ago • 3 comments

I pulled the source from GitHub and tried docker-compose up. All I get is a moving circle on both UIs (singularity and baragon)

The JavaScript console says this: Uncaught Error: Cannot find module "!!../../css-loader/index.js?sourceMap!../../resolve-url-loader/index.js?fail!../../sass-loader/index.js?sourceMap!./default.scss" at default.scss:4 at Object. (default.scss:4) at t (bootstrap baa6062525a9003f6881:71) at Object. (MultiSelect.jsx:4) at Object. (app.bundle.js:44109) at t (bootstrap baa6062525a9003f6881:71) at Object. (RequestForm.jsx:8) at Object. (app.bundle.js:63558) at t (bootstrap baa6062525a9003f6881:71) at Object. (router.jsx:18)

gaborherman avatar Dec 19 '18 17:12 gaborherman

Same issue here with native deployment.

The root cause seems to be 307 when fetching swagger from unpkg.com

Singulary should embed swagger instead depending on internet resources

asyd avatar Jan 04 '19 08:01 asyd

See https://imgur.com/a/trcBAbI

asyd avatar Jan 07 '19 22:01 asyd

Hey, agreed we should start embedding it. I don't have time to get that PR out right away, but any PRs welcome if you guys have the time

ssalinas avatar Jan 23 '19 20:01 ssalinas