Skip to content
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

Compile error: missing module http #28

Open
Slesa opened this issue Aug 23, 2021 · 2 comments
Open

Compile error: missing module http #28

Slesa opened this issue Aug 23, 2021 · 2 comments

Comments

@Slesa
Copy link

Slesa commented Aug 23, 2021

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)

@Slesa
Copy link
Author

Slesa commented Aug 24, 2021

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"

@Shmew
Copy link
Owner

Shmew commented Sep 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants