fable-compiler / Fable.Lit

Write Fable Elmish apps with Lit
https://fable.io/Fable.Lit/
MIT License
93 stars 13 forks source link

[Lit]: error FABLE: Unexpected base call expression, please report #6

Closed AngelMunoz closed 3 years ago

AngelMunoz commented 3 years ago

When compiling on a fresh project the first time I'm getting this error

C:/x/Fable.Haunted/src/Fable.Haunted.Store/.fable/Fable.Lit.1.0.0-beta-002/Hook.fs(1,1): error FABLE: Unexpected base call expression, please report
Compilation failed

the error goes away when you try to compile again

alfonsogarciacaro commented 3 years ago

Are you using Fable 3.3.0-beta-002? This is needed to run the latest packages.

kierepka commented 3 years ago

Are you using Fable 3.3.0-beta-002. This is needed to run the latest packages.

Problem is in .config folder where fable version should be:

"tools": {
    "fable": {
      "version": **"3.3.0-beta-002"**,
      "commands": [
        "fable"
      ]
AngelMunoz commented 3 years ago

Ah yes I included the package but I was using an older versionon the config, thanks!