question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

terminal messed up with sbt new (at least)

See original GitHub issue

Ok so I’m on sbt-extras for 0.13.13, JDK 8, MacOS default Terminal app. When I do sbt new I see the template title and then output stops.

~$ sbt new scala/scala-seed.g8
[info] Loading global plugins from /Users/rnorris/.sbt/0.13/plugins
[info] Set current project to rnorris (in build file:/Users/rnorris/)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Minimum Scala build.

If I then hit Enter it looks like this:

~$ sbt new scala/scala-seed.g8
[info] Loading global plugins from /Users/rnorris/.sbt/0.13/plugins
[info] Set current project to rnorris (in build file:/Users/rnorris/)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Minimum Scala build.

name [My Something Project]:
Template applied in ./my-something-project
~$

So there is something messed up with echo … I verified that I have the right version of JLine in ~/.sbt/boot.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
paulpcommented, Jan 2, 2017

I bet you have a .sbtignore which is trying to process the output of sbt new line by line and echoing selectively as it goes, but hangs up on the interactive questions sbt poses since such things didn’t exist when the filter was written.

Since I just now ran into the same problem writing a less messy sbt-new.

0reactions
tpolecatcommented, Jan 2, 2017

@paulp that’s it. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid terminal type: jline.UnixTerminal · Issue #562 · sbt/sbt ...
sbt console fails to load terminal - Invalid terminal type: jline. ... It's actually a pretty annoying problem with various versions of jline....
Read more >
stuck at "Getting org.scala-sbt sbt 0.13.6 ... - Stack Overflow
I tried with the given answer and problem still there. When I run sbt in terminal, it shows and stucks at : Getting...
Read more >
Getting Started with Scala and sbt on the Command Line
Run the following command sbt new scala/scala3.g8 . This pulls the 'scala3' template from GitHub. It will also create a target folder, which...
Read more >
sbt Reference Manual — Combined Pages
In a new vim window type :terminal to start the built-in terminal. Type in sbt ... If you use the wrong value type,...
Read more >
TM Terminal | Eclipse Plugins, Bundles and Products
I end up having to recreate my "Terminal Workspace" when Eclipse already has a mechanism to persist the last state of my Workspace....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found