lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
pepas 2020-02-08T01:50:27.003300Z

@sogaiu ah, great. Mind if I pester you for some details? What distro (and release) are you running? I just tried building in a Debian Buster chroot and ran into all sorts of JS dependency problems (and I’m a yarn / npm noob, so I wasn’t able to fix them).

pepas 2020-02-08T01:52:21.005400Z

I was able to globally install a bunch of npm deps, which got past a few errors, but I ultimately ran into some errors from google closure (about missing files), and it looks like the google clojure JS lib changed its directory structure about a year ago, so I was guessing that some part of the lumo build process needed to be updated to account for that

pepas 2020-02-08T01:52:41.005900Z

but if you got it to build that’s great! hopefully I can figure out how to repro a working build locally

pepas 2020-02-08T01:56:36.006300Z

here was the build script I was working on: https://gist.github.com/cellularmitosis/df87e0c962e184b8bd29c8a3f07f3db4

2020-02-08T02:03:26.010Z

i used a xubuntu installation. my local clj version is the same as what's in your script: 1.10.1.507 boot --version gave:

$ boot --version
Downloading <https://github.com/boot-clj/boot/releases/download/2.8.3/boot.jar>...
#<http://boot-clj.com>
#Sat Feb 08 02:00:42 GMT 2020
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.8.3
so i'm not sure if this just changed my boot version... yarn --version gives 1.21.1 as far as java is concerned, it looks like i happened to be using a special build of openjdk 1.8.0_232 (it is a jvmci build -- iirc used for working with graalvm) the actual command i ran to build lumo in the repository clone was:
boot release

2020-02-08T02:04:56.010500Z

i'll do another build using a fresh clone

pepas 2020-02-08T02:07:28.010800Z

thanks for the details!

2020-02-08T02:07:46.011200Z

np -- will let you know how the fresh build goes 🙂

pepas 2020-02-08T02:09:20.011400Z

pepas 2020-02-08T02:09:23.011800Z

hmm, maybe this is my problem

pepas 2020-02-08T02:09:31.012100Z

I was trying to build from a release, rather than HEAD

2020-02-08T02:09:53.012500Z

ah, may be so -- haven't tried with a release

2020-02-08T02:25:17.012900Z

fresh build worked fine -- just needed to run yarn before the boot command.

pepas 2020-02-08T02:40:25.013100Z

thanks!

pepas 2020-02-08T02:57:33.013500Z

hmm, still hit the same problem when building HEAD:

/root/tmp/lumo-master/.pnp.js:24764
    throw firstError;
    ^

Error: A package is trying to access another package without the second one being listed as a dependency of the first one

Required package: babel-helper-evaluate-path (via "babel-helper-evaluate-path")

pepas 2020-02-08T02:57:55.014100Z

I'll try setting up an ubuntu chroot

2020-02-08T03:18:14.014600Z

i don't know if it will make any difference but fwiw my yarn version is 1.21.1