Closed houstonhaynes closed 1 year ago
Hello,
do you have package Fable.Browser.Dom installed?
Yes - definitely installed. It was somewhat surprising that I saw this error at all. In fact, I wasn't getting a prompt in VSCode that there was no reference for it, so it was more to the reason that this compilation error totally mystified me.
Just ran though this on another (Win11) machine. Worked as expected. Not sure what the issue is on the slab where the issue came from - but I'm content to close this out. Thanks for echoing back! 👍
I'm going through the Elmish Book exercises to refresh (and re-trench a bit to eventually start using Avalonia.Elmish). I started on master which I figured would be bumpy with Fable 2 - and it didn't disappoint. (
npm audit fix
actually couldn't fix all of the issues). So I moved over to the fable-4-updates branch and it went more smoothly. However the "printMsg" exercise hits a "bump in the road"It seems that it can't find/resolve Fable.Browser.Dom
And the browser shows an uncaught exception on refresh.