brianpkelley / md-color-picker

Angular-Material based color picker
MIT License
254 stars 120 forks source link

problem using in Electron app – Uncaught Error: [$injector:modulerr] #120

Open sandor opened 7 years ago

sandor commented 7 years ago

Not sure what's going on there... But I am getting this error on initialisation. Are there maybe some known problems with electron?

function g(a) { ib(w(a) || I(a), "modulesToLoad", "not an array"); var b = [], c; p(a, function (a) { function d(a) { var b, c; b = 0; for (c = a.length; b < c; b++) { var e = a[b], g = q.get(e[0]); g[e[1]].apply(g, e[2]) } } if (!m.get(a)) { m.set(a, !0); try { D(a) ? (c = ec(a), z.modules[a] = c, b = b.concat(g(c.requires)).concat(c._runBlocks), d(c._invokeQueue), d(c._configBlocks)) : A(a) ? b.push(q.invoke(a)) : I(a) ? b.push(q.invoke(a)) : ub(a, "module") } catch (e) { throw I(a) && (a = a[a.length - 1]), e.message && e.stack && -1 === e.stack.indexOf(e.message) && (e = e.message + "\n" + e.stack), Ba("modulerr", a, e.stack || e.message || e); } } }); return b }