Fork me on GitHub
#lumo
<
2020-02-08
>
jasonpepas01:02:27

@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).

jasonpepas01:02:21

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

jasonpepas01:02:41

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

sogaiu02:02:26

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 ...
#
#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

sogaiu02:02:56

i'll do another build using a fresh clone

jasonpepas02:02:28

thanks for the details!

sogaiu02:02:46

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

jasonpepas02:02:23

hmm, maybe this is my problem

jasonpepas02:02:31

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

sogaiu02:02:53

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

sogaiu02:02:17

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

jasonpepas02:02:33

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")

jasonpepas02:02:55

I'll try setting up an ubuntu chroot

sogaiu03:02:14

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