Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Rubiks Cube doesn't build for me (Lean4 dev novice here) #9

@enjoysmath

Description

@enjoysmath
PS C:\Users\fruit\OneDrive\Desktop\Lean4Widgets> cd C:\Users\fruit\OneDrive\Desktop\Lean4Widgets\lean4-samples\RubiksCube
PS C:\Users\fruit\OneDrive\Desktop\Lean4Widgets\lean4-samples\RubiksCube> dir


    Directory: C:\Users\fruit\OneDrive\Desktop\Lean4Widgets\lean4-samples\RubiksCube


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----          9/3/2022  11:58 AM                images
d-----          9/3/2022  11:58 AM                widget
-a----          9/3/2022  11:58 AM             51 .gitignore
-a----          9/3/2022  11:58 AM           1353 lakefile.lean
-a----          9/3/2022  11:58 AM             26 lean-toolchain
-a----          9/3/2022  11:58 AM            821 README.md
-a----          9/3/2022  11:58 AM            431 Rubiks.lean


PS C:\Users\fruit\OneDrive\Desktop\Lean4Widgets\lean4-samples\RubiksCube> lake build rubiksJs
error: .\lakefile.lean:7:44: error: function expected at
  "npm"
term has type
  String
error: .\lakefile.lean:9:19: error: expected command
error: .\lakefile.lean:20:50: error: invalid binder annotation, type is not a class instance
  ?m.128
use the command `set_option checkBinderAnnotations false` to disable the check
error: .\lakefile.lean:37:0: error: expected command
error: package configuration `.\lakefile.lean` has errors
PS C:\Users\fruit\OneDrive\Desktop\Lean4Widgets\lean4-samples\RubiksCube> 

I have Node.js installed and npm is in a bin directory that's on my Path env var.

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