buildless / cli

Buildless CLI and Agent
https://docs.less.build/docs/cli
5 stars 0 forks source link

Dashboard command error (`NotImplemented`) #13

Closed sgammon closed 10 months ago

sgammon commented 10 months ago

Expected Behavior

Running buildless dashboard should open the Dashboard

Actual Behaviour

A crash

Stacktrace

Exception in thread "main" kotlin.NotImplementedError: An operation is not implemented: Not yet implemented
    at build.less.cli.cmd.dashboard.DashboardCommand.invoke-mT4irmQ(DashboardCommand.kt:37)
    at build.less.cli.AbstractCommand$call$1.invokeSuspend(AbstractCommand.kt:246)
    at build.less.cli.AbstractCommand$call$1.invoke-mT4irmQ(AbstractCommand.kt)
    at build.less.cli.AbstractCommand$call$1.invoke(AbstractCommand.kt)
    at build.less.cli.AbstractCommand$execute$1$4.invokeSuspend(AbstractCommand.kt:222)
    at build.less.cli.AbstractCommand$execute$1$4.invoke(AbstractCommand.kt)
    at build.less.cli.AbstractCommand$execute$1$4.invoke(AbstractCommand.kt)
    at com.jakewharton.mosaic.MosaicKt$runMosaic$2$3.invokeSuspend(mosaic.kt:114)
    at com.jakewharton.mosaic.MosaicKt$runMosaic$2$3.invoke(mosaic.kt)
    at com.jakewharton.mosaic.MosaicKt$runMosaic$2$3.invoke(mosaic.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
    at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
    at com.jakewharton.mosaic.MosaicKt$runMosaic$2.invokeSuspend(mosaic.kt:95)
    at com.jakewharton.mosaic.MosaicKt$runMosaic$2.invoke(mosaic.kt)
    at com.jakewharton.mosaic.MosaicKt$runMosaic$2.invoke(mosaic.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
    at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
    at com.jakewharton.mosaic.MosaicKt.runMosaic(mosaic.kt:54)
    at build.less.cli.AbstractCommand$execute$1.invokeSuspend(AbstractCommand.kt:207)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:281)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at build.less.cli.AbstractCommand.execute(AbstractCommand.kt:186)
    at build.less.cli.AbstractCommand.call(AbstractCommand.kt:245)
    at build.less.cli.AbstractCommand.run(AbstractCommand.kt:256)
    at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
    at picocli.CommandLine.access$1500(CommandLine.java:148)
    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
    at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
    at picocli.CommandLine.execute(CommandLine.java:2170)
    at build.less.cli.Buildless$Companion.main(Buildless.kt:264)
    at build.less.cli.Buildless.main(Buildless.kt)
    at java.base@21.0.1/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)

Steps To Reproduce

  1. Download and install CLI
  2. Login with buildless account login
  3. Run buildless dashboard
  4. Error

Environment Information

Component

Buildless CLI

Language

N/A (Default)

Tool

N/A (Default)

Example Application

No response

Version

1.0.0-rc1