Closed EverybodyKurts closed 2 years ago
Just tried testing it. Thanks for the simple repro repo.
The Build.fs
is fine for me. That said, Ionide can be a bit buggy sometimes. I find closing a .fs
file a reopening often helps, or reloading the entire window. (And it's really inconsistent, sometimes reloading the entire VSCode window doesn't help but then closing and reopening just that file tab does)
Can reproduce the same error. There was another issue that had a similar error message #483. Indeed, commenting out open Elmish.HRM
in App.fs
seems to make it work. I wonder if it's to do with an update to that package.
It works if you pin the version of Fable.Elmish.HMR
to 4.1
No joy :(
I ran dotnet paket update
and it still throws that error.
Hmm IDK then. If I clone your repo and pin Fable.Elmish.HMR to 4.1 and don't change anything else then it works fine. Did you do a dotnet paket install
after changing paket.dependencies
? Can you confirm that pinning the version actually worked by checking paket.lock
?
Oh, in the screenshot the tab has white circle meaning it's bean edited but not saved. Maybe you just forgot to actually save the changes?
Oh yea, duh. That did it and now Webpack successfully compiled! Thank you for the help!
Haha no worries. Can't tell you how many times I've done that 😅
Hey all,
I've been trying to get the safe stack template working with dotnet 6 but I've run into errors. The link below is a fresh install from the safe stack template, with upgrades from
net5.0
tonet6.0
and upgrades of the dotnet tools to their latest versions (Fable, Femto, etc).https://github.com/EverybodyKurts/MySafe6App
There are 2 problems:
Fake
modules inBuild.fs
orHelpers.fs
. Rider doesn't experience the same problems.dotnet run
runs but then errors out at thewebpack
compilation stage.