Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBT native new command crashes with any template #7497

Open
martin-ockajak opened this issue Feb 15, 2024 · 1 comment
Open

SBT native new command crashes with any template #7497

martin-ockajak opened this issue Feb 15, 2024 · 1 comment
Labels

Comments

@martin-ockajak
Copy link

martin-ockajak commented Feb 15, 2024

Steps

Run this command:

sbt --client new scala/scala3.g8

Problem

SBT fails to create a project and crashes with the following error:

[info] entering *experimental* thin client - BEEP WHIRR
[info] server was not detected. starting an instance
[info] welcome to sbt 1.9.8 (Oracle Corporation Java 21.0.2)
[info] loading project definition from /home/owner/project
[info] set current project to owner (in build file:/home/owner/)
[info] sbt server started at local:///home/owner/.sbt/1.0/server/f2487b1ab632c3668137/sock
[info] terminate the server with `shutdown`
> new scala/scala3.g8
Error: Unknown argument 'sbtCompleteExec f7ba6c33-5a01-4a6b-9160-1f9bb4be972c'
Error: Unknown argument 'resumeFromFailure'
Error: Unknown argument 'sbtPopOnFailure'
Error: Unknown argument 'sbtReportResult f7ba6c33-5a01-4a6b-9160-1f9bb4be972c'
Error: Unknown argument 'shell'
Try --help for more information.
[info] disconnected

Expectation

A new project should be created from the template.

Notes

The problem seems to be occurring for all Giter8 templates including non-existent templates. For example this command will trigger the same error:

sbt --client new not/real.g8
@SethTisue
Copy link
Member

Reproducible on MacOS (14.3.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants