This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
lumo global installation permission failure #206
Labels
Comments
kanaka
added a commit
to kanaka/mal
that referenced
this issue
Jul 27, 2017
- Pass down the CLJ_MODE value for DOCKERIZED builds in addition to run/tests. - Correct deps so that node_modules is installed for CLJ_MODE=cljs for all steps. - Lumo 1.6.0 is currently not able to install globally as root (anmonteiro/lumo#206) so add the local node_modules/.bin to the PATH in the run script. - Reader conditionals needed for clojure.reader/cljs.reader until this is fixed: anmonteiro/lumo#209
This issue has been marked as closed but i'm getting the exact problem. What is the fix? I'm using npm 5.3.0 on ubuntu 16.04 |
@sonwh98 I think the current fix is to |
great! that fixed it! maybe update the doc to reflect this? thanks for the fast response! |
Seems like was added to docs here? |
micfan
pushed a commit
to micfan/make-a-lisp
that referenced
this issue
Dec 2, 2018
- Pass down the CLJ_MODE value for DOCKERIZED builds in addition to run/tests. - Correct deps so that node_modules is installed for CLJ_MODE=cljs for all steps. - Lumo 1.6.0 is currently not able to install globally as root (anmonteiro/lumo#206) so add the local node_modules/.bin to the PATH in the run script. - Reader conditionals needed for clojure.reader/cljs.reader until this is fixed: anmonteiro/lumo#209
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
npm install -g lumo-cljs
seems to fail if run as root (either using sudo or run directly as root).For example, I'm trying to build a docker container with lumo installed globally and get the following error:
The end of the log file is this:
I think this started failing with newer versions of node/npm but I'm not certain. My suspicion is that the
npm_install.js
script is trying to download thelumo_linux64.zip
package to a location where npm no longer allows writing to (or perhaps the default directory changed in npm at some point). Writing the zip file to an actual temp directory (when on Linux) might solve the issue.If you have docker you should be able to easily replicate the issue with the following simple
Dockerfile
:Then run
docker build -t lumo-test .
The text was updated successfully, but these errors were encountered: