-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Versions 3.5.0 & 3.6.0 fail to compile #37
Comments
Hello Roman, my gut feeling tells me that you have to update fable-compiler to latest version as well because version 2.4.5 introduced proper Enum reflection functions which are used in SimpleJson 3.5.0 and later which is why earlier versions of Fable (currently 2.3.3 in SAFE) will break because they cannot yet compile these Enum reflection functions (what is shown in the error messages) |
Yes, you are right. I had to manually upgrade also Speaking about this... I tried Femto, but it didn't find I am having old version of fable-compiler... Is it something that Femto should handle, or Fable itself is expection and I need to keep it up-to-date with other libraries manually? |
Femto could handle this edge case if I had added the npm metadata to this package but it seemed very overkill considering that fable-compiler is almost always expected to be latest. This happened only because I updated SimpleJson to match with latest Fable functionality before SAFE updated the template in SAFE-template#318 But again for a library like SimpleJson that depends on specific Fable compiler features maybe it would make sense to add fable-compiler to the npm metadata. I discussed this with @MangelMaxime in this comment be he wasn't very fond of the idea at that time. |
Anyway, thanks a lot for help, man! 🙏 |
This saved me from despair, also forgot to update the fable-compiler. Thank you! |
Hello friend,
I found strange behavior:
Fable.Remoting
paket update
(nothing changed inpaket.dependencies
though)Fable.SimpleJson
package got to the latest3.6.0
versionfake build -t run
fails onFable.SimpleJson
package with this error:Same happens for
3.5.0
, BUT... version3.4.0
works!I hope it will give you some hint. :) 🙏
The text was updated successfully, but these errors were encountered: