Skip to content

SBT native new command crashes with any template #7497

@martin-ockajak

Description

@martin-ockajak

Environment

  • Linux (Ubuntu): x86_64

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions