SBT Error: “Failed to construct terminal; falling back to unsupported…”

后端 未结 10 889
别跟我提以往
别跟我提以往 2020-12-13 03:20

I have run into an ERROR with SBT today. It can best be shown with the sbt sbt-version command:

Run on 5/29/17:

eric@linux-x2vq:~$ sbt s         


        
10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 04:01

    For Ubuntu 20.04 Users, Open your terminal and run the bellow CMDs

    • Go to this "/usr/share/sbt/bin" directory ( $ cd /usr/share/sbt/bin )
    • give the permission to edit file ( $ sudo chmod -R 777 sbt )
    • Open the sbt text file in this directory ( $ nano sbt )
    • Add this "export TERM=xterm-color" cmd in top and save ( Ctrl + X )

    Ex:-

    #!/usr/bin/env bash
    export TERM=xterm-color
    set +e
    

提交回复
热议问题