Fork me on GitHub
#lumo
<
2017-09-06
>
anmonteiro00:09:25

@hlolli also I just fixed the EOF issue

anmonteiro00:09:29

not related to buffer / string

anmonteiro00:09:38

it’s my fault when doing a refactoring a while ago

anmonteiro00:09:27

planck - <<< 1 doesn’t produce output

hlolli00:09:13

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.

anmonteiro00:09:27

I’ll fix it

hlolli00:09:07

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.

hlolli00:09:38

No i mean the only reason

richiardiandrea00:09:19

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?

anmonteiro00:09:35

@richiardiandrea yarn dev will set the right options

anmonteiro00:09:41

or npm run dev

richiardiandrea00:09:13

ok I see, I was missing target in the classpath let me try that

richiardiandrea00:09:37

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

richiardiandrea00:09:47

inside my project dir in order to compile

richiardiandrea00:09:29

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.

anmonteiro00:09:03

@richiardiandrea do you have boot dev running?

richiardiandrea00:09:39

maybe it is not finding stuff in node_modules

anmonteiro00:09:34

no that’s not it

anmonteiro00:09:50

can you run that with the built binary?

anmonteiro00:09:43

^ that main.js is the compiled CLJS bundle

anmonteiro00:09:06

it probably needs to be in the target folder from where you’re running lumo

richiardiandrea00:09:48

it is there, but the fact that I am running from another folder messes things up...cwd is not target maybe

anmonteiro00:09:53

yes, that’s what I’m saying

anmonteiro00:09:21

I’ll fix it

anmonteiro00:09:34

also you may wanna set a cache path

anmonteiro00:09:37

or it’ll take a little while

anmonteiro00:09:40

works for me now

richiardiandrea00:09:11

k trying, yes I set the cache after checking what yarn dev does

richiardiandrea16:09:37

the answer is prolly not, but is clojure.tools.trace working for lumo? if not, alternatives?

dominicm16:09:24

so, https://github.com/philoskim/debux claims to work with cljs, no idea lumo though

richiardiandrea16:09:48

@dominicm thanks will try that!