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.

sbt ~run error (windows 8.1)

See original GitHub issue
name@PC-NAME:[~/projects/pl-scala]:                                                          
$ sbt  ~run                                                                                   
[info] Loading project definition from C:\Users\name\projects\pl-scala\project               
[info] Set current project to pl-scala (in build file:/C:/Users/name/projects/pl-scala/)     
[error] Expected key                                                                         
[error] Expected '*'                                                                         
[error] C:/Program Files (x86)/Git                                                           
[error]   ^                                                                                  

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
eed3si9ncommented, Jan 18, 2015

Thanks for the video. So ~run works from the Activator shell, but

$ sbt ~run

doesn’t work on what seems to be Cygwin running with Bash. Could it be tilde expansion? On my Mac and zsh I get

$ sbt ~compile       
zsh: no such user or named directory: compile

but

$ sbt "~compile"

seems to work. Could you try with double quotes?

0reactions
alisa-rendcommented, Jan 18, 2015

nice!

@eed3si9n thanks!! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is SBT throwing error when running external process
It works fine when I run the same project/task in Ubuntu build system. AWS cli is installed on Windows machine and PATH is...
Read more >
SBT 5.0i client on Windows 8 Pro - Tek-Tips
One more thing to try. Run SBT Pro 5.0 once as an Admin. Click on the shortcut once to select it. Then hover...
Read more >
IntelliJ IDEA - Troubleshoot common Scala issues - JetBrains
In most cases your project JDK is not compatible with Scala or sbt version, try to change the Scala Compile Server SDK. Press...
Read more >
I deleted the .sbt directory in accident, How to make the sbt run ...
My system is windows 8, sbt version is 0.13.0 I delete the .sbt directory from my default user directory How to make to...
Read more >
Telling SBT to use different JDK version - Question - Scala Users
I am working on Windows 10 and have an installed JDK 11 for daily use. But I want to use JDK 8 (ZuluFX...
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