HelloWorld example (sbt new sbt/scala-seed.g8) not working

后端 未结 6 1228
北恋
北恋 2020-12-31 07:51

After having installed sbt version 0.13.13 (with brew) on Mac 10.12.2 with scala 2.12.0, I tried the first example on the documentation (as per subject sbt new sbt/sca

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-31 08:09

    I would like to share my experience:

    I wanted to run sbt new scalatra/scalatra.g8 and was facing error

    "git@github.com:scalatra/scalatra.g8.git: invalid privatekey: [...."

    How fixed it ?

    mkdir temp 
    cd temp
    git clone https://github.com/foundweekends/giter8.g8
    g8 file://giter8.g8
    

    Now it's working and printing

    Creates a Giter8 project template. 
    
    name [My Template Project]:
    

    Hopefully it will save someone's time.

提交回复
热议问题