Skip to content

The Demos don't run. #26

Open
Open
@Nojipiz

Description

@Nojipiz

Hi, i just cloned the repo and started to do try to start any project, no one starts.

sbt:demos> google-maps/start
[info] Updating NPM dependencies
[info] Using lockfile /home/nojipiz/Downloads/temp/Demos/google-maps/yarn.lock
[info] yarn install v1.22.22
[info] [1/4] Resolving packages...
[info] compiling 1 Scala source to /home/nojipiz/Downloads/temp/Demos/google-maps/target/scala-3.3.0/classes ...
[info] [2/4] Fetching packages...
[info] [3/4] Linking dependencies...
[error] error while loading AccessFlag,
[error] class file /modules/java.base/java/lang/reflect/AccessFlag.class is broken, reading aborted with class java.lang.RuntimeException
[error] bad constant pool index: 0 at pos: 5189
[error] error while loading ElementType,
[error] class file /modules/java.base/java/lang/annotation/ElementType.class is broken, reading aborted with class java.lang.RuntimeException
[error] bad constant pool index: 0 at pos: 1220
[error] two errors found
[info] [4/4] Building fresh packages...
[info] Done in 6.71s.

Yarn Version: 1.22.22
Sbt version: 1.9.0
Java version: 21.

PD: I just changed the Scala version from 3.3.0 to -> 3.3.3 and it works, is this supposed to happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions