This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-06
Channels
- # beginners (147)
- # boot (12)
- # chestnut (12)
- # cider (22)
- # clara (10)
- # cljs-dev (6)
- # cljs-experience (3)
- # cljsrn (12)
- # clojure (58)
- # clojure-austin (3)
- # clojure-dusseldorf (25)
- # clojure-finland (20)
- # clojure-gamedev (1)
- # clojure-greece (3)
- # clojure-italy (32)
- # clojure-new-zealand (5)
- # clojure-russia (12)
- # clojure-serbia (1)
- # clojure-spec (4)
- # clojure-uk (51)
- # clojurescript (75)
- # cursive (8)
- # datomic (81)
- # fulcro (29)
- # graphql (16)
- # heroku (6)
- # incanter (1)
- # keechma (1)
- # lumo (44)
- # off-topic (21)
- # onyx (22)
- # parinfer (5)
- # portkey (40)
- # re-frame (43)
- # reagent (5)
- # spacemacs (37)
- # specter (8)
- # unrepl (3)
@hlolli also I just fixed the EOF issue
not related to buffer / string
it’s my fault when doing a refactoring a while ago
oh I know
planck - <<< 1
doesn’t produce output
Lumo does
Ok nice, something at least broke it since i initially made the pr. Want to use lumo ad preprocessor in csound so i wanted to use this functionality.
I’ll fix it
Ok noted, sounds like a learningfull task. I look at it, and close my PR if you fixed the EOF error, that was in the end main reason for the PR.
@hlolli yeah just fixed it in https://github.com/anmonteiro/lumo/commit/261b93a2c9e1d1d3f7d2b20482bdf5ba29f4d0d1
so if I do boot dev
, can I then call node target/bundle.js
with all the normal parameters in order to emulate a call to lumo
binary?
@richiardiandrea yarn dev
will set the right options
or npm run dev
ok I see, I was missing target in the classpath let me try that
uhm, no...probably something else, I would like to launch:
node ~/git/lumo/target/bundle.js -c ~/git/lumo/target:$(cat cp):~/git/serverless-cljs-plugin/serverless-cljs-plugin -m serverless-lumo.build --zip-path /home/arichiardi/git/cqrs-cloud/.serverless/cqrs-cloud-event-store.zip --functions '[{:name "cqrs-cloud-event-store-dev-append-event" :invoke cqrs-cloud.event-store/append-event}]' --index true
inside my project dir in order to compile
I get:
(node:20366) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot set property 'user' of undefined
(node:20366) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@richiardiandrea do you have boot dev
running?
maybe it is not finding stuff in node_modules
no that’s not it
can you run that with the built binary?
yep I can
^ that main.js
is the compiled CLJS bundle
it probably needs to be in the target
folder from where you’re running lumo
it is there, but the fact that I am running from another folder messes things up...cwd is not target
maybe
yes, that’s what I’m saying
k cool
I’ll fix it
1 sec
@richiardiandrea try master
https://github.com/anmonteiro/lumo/commit/1d5c5e84498648ec7b75cafcfb757aca46e7a041
also you may wanna set a cache path
or it’ll take a little while
works for me now
k trying, yes I set the cache after checking what yarn dev
does
the answer is prolly not, but is clojure.tools.trace
working for lumo
? if not, alternatives?
so, https://github.com/philoskim/debux claims to work with cljs, no idea lumo though
@dominicm thanks will try that!