This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-26
Channels
- # aws-lambda (2)
- # beginners (10)
- # boot (17)
- # cider (19)
- # clara (1)
- # cljs-dev (13)
- # cljsjs (22)
- # cljsrn (1)
- # clojure (132)
- # clojure-austin (2)
- # clojure-berlin (2)
- # clojure-dusseldorf (1)
- # clojure-germany (2)
- # clojure-italy (7)
- # clojure-spec (6)
- # clojure-uk (5)
- # clojurescript (45)
- # core-matrix (3)
- # cursive (4)
- # datomic (8)
- # emacs (3)
- # keechma (3)
- # lein-figwheel (1)
- # leiningen (2)
- # lumo (24)
- # nyc (1)
- # off-topic (29)
- # om (68)
- # onyx (5)
- # perun (50)
- # planck (5)
- # protorepl (5)
- # re-frame (128)
- # reagent (10)
- # remote-jobs (1)
- # ring (4)
- # rum (41)
- # untangled (28)
- # yada (4)
That package fails to build in CircleCI. https://circleci.com/gh/cljsjs/packages/1670#tests/containers/0 complaining:
Cannot run program "gulp" (in directory "/home/ubuntu/.boot/cache/tmp/home/ubuntu/packages/simplex-solver/g3a/873hv6/simplex-solver-8e55b56d499dc7d64ac22a5051f2eeb4a22a2534"): error=2, No such file or directory
You need to install Gulp and use path to node_modules/bin
It builds fine on my own machine. Which file is missing in that error message? The directory or gulp
? The previous output suggests gulp installs as it should with npm install
. Which makes the error message even stranger. The relevant part of the boot
script is:
(binding [*sh-dir* (str (io/file tmp-lib))]
((sh "npm" "install"))
((sh "gulp" “js-lib”)))
You have gulp installed globally on your machine
npm install
doesn't install the binary to a directory in PATH
Hmmm, I am a newbie on these things, but without npm install
it fails on my own machine complaining about it not being installed locally.
you have probably installed gulp with npm install -g gulp
which installs the gulp to /usr/local/bin
or such
Indeed I have. I’ll uninstall it and try locally again. What should I do in the boot script to install it correctly, if you happen to know?
The installation is correct now, you just need to need to refer to the binary with proper path: ((sh "./node_modules/.bin/gulp"))
I just confirmed I got the same error message on my machine w/o gulp installed globally, btw.
All checks has passed. Lots of thanks, @juhoteperi!
The important part is to use +lib-version+
instead of commit sha
@juhoteperi: I did try to use the +lib-versioin+
zip file, but there was none available...
@pez It is available, but you need to prepend v
before the number
@pez Just push commits into the same branch you created PR from. The PR will be updated.