Fable: Unable to get new Fable library to work via nuget

Created on 24 Aug 2020  ·  1Comment  ·  Source: fable-compiler/Fable

Description

I have created a new Fable library that works when the code is directly embedded in the project, but I can't get it to install and work properly via nuget.

I have included the .fsproj and .fs files in the "fable/" folder, and I have verified that they do appear in the ".fable" folder for my nuget package. But the npm build gives me a bunch of errors that it doesn't recognize the Fable.React types (tr, td, nothing, etc).

Repro code

  • Install the Fable.GroupingPanel addin v0.1.2 via nuget
  • Sample code here
  • npm build will fail

Related information

Fable Version "fable-compiler": "^2.10.1"

  • Operating system
    Windows 10

Most helpful comment

Disregard --

I accidentally removed dependencies on a nuget package build, and then I thought I cleared the nuget cache, but apparently I had some stale cache that I missed.

(╯°□°)╯︵ ┻━┻

It's working now.

>All comments

Disregard --

I accidentally removed dependencies on a nuget package build, and then I thought I cleared the nuget cache, but apparently I had some stale cache that I missed.

(╯°□°)╯︵ ┻━┻

It's working now.

Was this page helpful?
0 / 5 - 0 ratings