-
Notifications
You must be signed in to change notification settings - Fork 16
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
The module/namespace 'Fable.React' from compilation unit 'Fable.React' did not contain the namespace, module or type 'ReactElement' #13
Comments
Relates to fable-compiler/Fable#3273 too. |
Ah I've just found something in the Fable Gitter from Maxime, suggesting that downgrading to Fable.React 8 should help, and indeed it does get past that error, but results in a different error (again,
For some reason (possibly to do with Fable.React 8 and Fable.React.Types 18 both defining a I considered downgrading Feliz to v1 (compatible with Feliz.DaisyUI), but Feliz.Router 4.0 requires Feliz 2.3+. I don't have time to experiment further right now (and I'm not sure I should be downgrading all the packages π), but I might take a look later this week. |
I've played about with trying to upgrade a local copy of Feliz.DaisyUI to use Feliz v2, but am running into a similar issue there too π€ @MangelMaxime are you able to shed any light on how this might be resolved? No pressure obviously, given I'm mentioning you out of the blue in a repo you have no responsibility for π . |
Well there are a few thing that can go wrong:
|
Thanks so much for the speedy response @MangelMaxime! You're really going above and beyond π Not really one for you to resolve, just posting here in case anyone else wants to pull at this thread. I've tried downgrading Feliz.Router to v3, which allows downgrading Feliz to v1 (which required a small tweak to App.fs in the client project). I also downgraded Fable.React to v8 for good measure. The good news is that this fixes intellisense in Rider, but the dotnet build and fable build are now broken, even if I downgrade to Fable v3 and dotnet SDK version to v6 (including changing framework version in paket.dependencies, target framework in fsproj files and running a paket install).
Think I've exhausted the avenues I can easily worth through @Dzoukr. Will probably leave this for now, which means I can't use the v3 template. I might experiment with the v2 template instead. |
Thanks @MangelMaxime for response! Yup, this is still rather fresh (that's why it's pre-version) but when Fable 4 is out, the goal here is to start with the "all latest" - Fable, Feliz, React... |
Hey @Dzoukr, yep makes sense - I understand that a pre-release version comes without any guarantees π I hope that this report helps as the v3 release moves closer. I can confirm that I'm not facing this issue with v2.5.0 ποΈ Thanks once again for putting this template together, I'm excited to try it out! |
Thanks for making this template available Roman! It looks really interesting, and the changes you've made appeal to some of my inclinations π Unfortunately, I seem to be having an issue with 3.0.0-pre-005 ποΈ
The template runs fine via
dotnet run
, but there is a compilation error that breaks intellisense in Rider, resulting in a less-than-ideal development experience.This is from an unmodified SAFEr template. The sln build fails with the same error:
Seems to relate to Zaid-Ajaj/Feliz#520. I've played around a bit with dependencies, but not found a solution yet. Any ideas?
The text was updated successfully, but these errors were encountered: