osx - Lektor command-line installation fails on OS X 10.11.6 -


i've installed lektor desktop app os x on 2 computers, , when select "install shell command", prompts admin credentials (my default user account not admin in either case) , after i've entered admin details responds with:

error
failed install shell commands

a search 'lektor' in console revealed no log entries.

both machines have xcode 8.0 installed (don't know if makes difference).

(fyi, not part of question, subsequent attempts install command line app via bash script succeeded on 1 , failed on other computer.)

didn't work me either. looked @ shell script command line installation , saw wrapper around python script.

solution:

i copy/pasted python code shell script file , ran on command line. installation worked fine then.

steps i've taken:

  1. environment: macos 10.12.1 python 2.7.12_2 installed via homebrew, fish shell (just bash replacement)
  2. used "curl ..." link getlektor.com download script - need modify file without installing: curl -sf https://www.getlektor.com/install.sh > getlektor.txt
  3. open getlektor.txt in editor , copy python code new named "install_lektor.py". python code starts line "import os" , ends line "main()"
  4. run new python script "python install_lektor.py"

hope helps!


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -