Fable.SignalR
Fable.SignalR copied to clipboard
Compile error: missing module http
Description
I tried to use Fable.SignalR in my project with the steps given in the docs, but I am running into compile errors.
Steps to reproduce
I've added Fable.SignalR, SignalR.Elmish, SignalR.Feliz. I've even tried to add SimpleHttp...
Error message
.fable/Fable.SignalR.0.11.5/HubConnection.fs(332,46): (332,50) error FSHARP: The namespace or module 'Http' is not defined. Maybe you want one of the following: HttpClient (code 39)
There is a fable compile warning which might be interesting: "Error while reading metadata nodes in table itypars of assembly Fable.SignalR: the node has no matching declaration. Signal this warning, this assembly might has to be rebuilt"
Hi @Slesa,
I'm not sure what the cause of your compile error is, the Http
module is in the Fable.SignalR
package. I'd recommend checking your version of the Fable compiler is up-to-date, and try cleaning out your .fable
directory. Perhaps looking at the demo app might help?
There is a fable compile warning which might be interesting: "Error while reading metadata nodes in table itypars of assembly Fable.SignalR: the node has no matching declaration. Signal this warning, this assembly might has to be rebuilt"
This isn't an issue, you can safely ignore that warning.