This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-23
Channels
- # beginners (63)
- # cljs-dev (1)
- # cljsjs (1)
- # cljsrn (11)
- # clojure (208)
- # clojure-berlin (2)
- # clojure-dusseldorf (5)
- # clojure-italy (5)
- # clojure-norway (56)
- # clojure-russia (7)
- # clojure-spec (85)
- # clojure-uk (27)
- # clojurescript (191)
- # core-async (73)
- # cursive (4)
- # datomic (62)
- # defnpodcast (1)
- # hoplon (2)
- # jobs-rus (1)
- # juxt (14)
- # keechma (1)
- # leiningen (1)
- # lumo (126)
- # off-topic (2)
- # om (11)
- # onyx (27)
- # pedestal (52)
- # planck (21)
- # powderkeg (1)
- # re-frame (32)
- # reagent (14)
- # ring-swagger (1)
- # rum (3)
- # slack-help (19)
- # specter (23)
- # untangled (32)
- # vim (7)
- # yada (43)
anyone tried running lumo in react-native ?
bld@salyut:~$ sudo npm install -g lumo-cljs
[sudo] password for bld:
/usr/bin/lumo -> /usr/lib/node_modules/lumo-cljs/bin/lumo
> [email protected] install /usr/lib/node_modules/lumo-cljs
> node scripts/npm_install.js
Downloading [============================------------] :rate/bps 70% 13.0s
Download failed.
npm ERR! Linux 4.8.0-43-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "lumo-cljs"
npm ERR! node v7.7.3
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node scripts/npm_install.js`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/npm_install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lumo-cljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/npm_install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs lumo-cljs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls lumo-cljs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/bld/npm-debug.log
anyone got lumo running on react-native ?
Not common in nodejs. I think that Lumo's dependency nexe is a bit involved, so a bit pita.
bld@salyut:~$ sudo npm install -g lumo-cljs
/usr/bin/lumo -> /usr/lib/node_modules/lumo-cljs/bin/lumo
> [email protected] install /usr/lib/node_modules/lumo-cljs
> node scripts/npm_install.js
Downloading [========================================] :rate/bps 100% 0.0s
/usr/lib
└── [email protected]
bld@salyut:~$ lumo
/usr/local/bin/lumo: line 1: /lumo.exe: No such file or directory
bld@salyut:~$ sudo npm install -g mach
/usr/lib
└─┬ [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
bld@salyut:~$ mach
/usr/local/bin/lumo: line 1: /lumo.exe: No such file or directory
many kudus to the whole lumo team !
no more JVM makes me very happy !
I'm sure people not used to the jvm find that just as frustrating as I'm finding node atm
https://github.com/anmonteiro/lumo/releases/download/1.2.0/lumo_linux64.zip <-- this is easiest install
The NPM installation is a bit flaky and I have no idea why
@mozinator thanks. What do you mean by running Lumo in React Native?
to embed lumo into an react-native based app
I had to sudo rm -fr /usr/local/lib/node_modules/lumo-cljs
and sudo rm /usr/local/bin/lumo
Hrm. Can you embed Node in a React Native app?
but after doing those and having that lumo from the .zip in ~/bin which is in my $PATH things seem happy
@anmonteiro good question, will check
Lumo is basically the Node executable with a custom init script for CLJS + dark magic to make it start ultra fast
If you can embed Node in a React Native app, you should be able to embed Lumo
found this project: https://github.com/mvayngrib/rn-nodeify
But it might not be starightforward at all
@otfrom as in, it shouldn't need to install it as a dependency. Don't know how to do exclusions.
And you may need to compile Lumo for ARM, which I still haven't been able to
@anmonteiro lack of resources? Or technical issues?
If anyone's a big RaspberryPi fan, pls get in touch
@dominicm mostly lack of time to go through the pain of figuring every little thing out
https://travis-ci.org/voidlinux/void-packages/builds/196359741 builds on musl apparently
I tried to cross compile and it succeeded, but then failed to launch on rPi because it's dynamically linked to stdlibc
So I must have been doing something wrong
@dominicm right, I know it's possible. Just my time has been limited these days
@dominicm @anmonteiro I'd love to see lumo on the rPi, but when I started digging into compiling for ARM it was all new and therefore slow going and I'm up against the time issue too. 😄 Last @anmonteiro and I chatted, he recommended looking into using nodejs' make. And that's where I left it
Maybe an FAQ, but is it possible to pass options to node's command line?
Awesome thanks, I am going to need to increment the memory size
are symlinks (as in yarn link
) picked up in lumo
? Probably they should as it is node stuff at the end of the day
yeah true
weird I get always the behavior of the old package, not the package I am testing with link
but the file in node_modules
points to the correct one
yeah doesn't make sense to me either, will investigate more
yes plain node is my next step
oh that might be then, I am using it in a script
I reported this a little while ago, @anmonteiro said something about having to manually implement it.
ok cool will do it
@dominicm I did implement it, it’s in 1.2.0 🙂
a bit convoluted in the middle of a big diff, but here https://github.com/anmonteiro/lumo/commit/b29c80bd5e913c9592a401b631dbb09527ab2533#diff-3a2800c4e78b6ed22ca135d842852adfR18
@anmonteiro ooh. I'll have to try my examples again.
for me, everything is good guys, sorry for the noise, resolution works
ah ah true, let's look at the bright side 😄
lumo is becoming an indispensable tool for me (and my colleagues), thanks @anmonteiro !
that is awesome
I wish I had more time to work on it
I wonder how a Patreon campaign would go
uhm I would pitch in 😉
or whatever people use to get funded to work on open source
especially for improving completion, we have compiler + sexp and we can get pretty fancy 😄 I read vscode does expression evaluation (getting rid of loops, side effects and deep recursion) for completing the objects in the editor
For the JUXT training course next week we're using mach/lumo to build the presentation
It's a real confluence of technology: lumo powering mach. In the presentation we use Klipse. And it's all compiled from adoc (which I eventually want to do via lumo)
We'll open source the presentation building stuff soon. Working with @viebel to make it super friendly to klipse.
that is awesome
another interesting thing is process.argv
in lumo does not trim nexe
stuff...but I guess it is unavoidable
so what is the suggested way to pass arguments to a script?
@richiardiandrea hrm, you mean Lumo args?
they should be in lumo.core/*command-line-args*
, no?
ah, did not know that 😊
so one other thing I wanna work on is the lumo website
write a bunch of docs
ah ah yes that is always good to do 😄
I wonder if I opened an Open Collective thing https://opencollective.com/
if people would back Lumo and help me take some time to build stuff for it
probably too early for that
I think it is a good idea, why do you think it is early?
@richiardiandrea I don’t think many people would back it, simply because it’s not evolved enough to be prolific (yet?)
@anmonteiro you might find private companies are a good backer
@anmonteiro I can highly suggest you write your docs in asciidoctor. If nothing else because it has a table of contents! The best part is that it can include real code from files, so you can include parts of code from a test suite or output from real commands and such.
@dominicm hrm, maybe, thanks for suggesting that. I wonder if there would be companies interested in backing Lumo though, given it’s only 4 months old 🙂