This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-22
Channels
- # beginners (10)
- # boot (134)
- # cider (29)
- # clara (2)
- # cljs-dev (10)
- # cljsjs (2)
- # cljsrn (13)
- # clojure (76)
- # clojure-india (4)
- # clojure-ireland (1)
- # clojure-russia (20)
- # clojure-spec (11)
- # clojure-uk (7)
- # clojurescript (88)
- # core-async (5)
- # core-logic (3)
- # cursive (17)
- # datascript (5)
- # datomic (123)
- # hoplon (8)
- # klipse (6)
- # lambdaisland (2)
- # leiningen (4)
- # luminus (2)
- # off-topic (23)
- # om (23)
- # om-next (1)
- # onyx (20)
- # pedestal (2)
- # perun (2)
- # re-frame (11)
- # ring-swagger (3)
- # untangled (12)
Has anyone had any luck getting a Hoplon app to run as a packaged Electron app? I can actually get mine to execute when invoking electron directly, but the package I produce with electron-packager
fails with this error:
I think this is probably not a Hoplon problem per se, but a Clojurescript/Electron one. If there’s a better channel to ask in, please direct me there.
@qqq that looks really cool, could you put something up in github so it doesn't get lost in the chat history?
@thedavidmeister : no, but you don't want it to be lost, you can convert it to a hoplon patch 🙂
@micha @alandipert what are your thoughts on complementing on!
with observers like MutationObserver, IntersectionObserver, ResizeObserver, etc.
@zilvinasu https://github.com/mynomoto/benefactor has some help function wrapping silk and https://github.com/mynomoto/github-client/blob/master/src/github_client/route.cljs https://github.com/mynomoto/github-client/blob/master/src/github_client/core.cljs have usage samples if you want hash-routes.
@candera: I have working electron apps with hoplon
@candera: it looks like the issue is your js/_dirname this is the location your scripts are invoked from which is different in Node.js and Electron. I would make sure you are always using at least simple compilation to get a single compiled file