Skip to content

Missing dependency on Fable.Remoting.Client #377

@Larocceau

Description

@Larocceau

I recently ran into some compilation errors when working on a very minimal project that depends on Fable.Remoting:

Started Fable compilation...                          
Fable compilation finished in 2329ms

.\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(13,30): (13,40) error FSHARP: The type 'FileReader' is not defined. (code 39)
.\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(37,10): (37,14) error FSHARP: The type 'File' is not defined. (code 39)
.\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(82,32): (82,35) error FSHARP: The value, constructor, namespace or type 'Dom' is not defined. (code 39)
.\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(87,9): (87,21) error FSHARP: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. (code 72)
.\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(89,9): (89,22) error FSHARP: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. (code 72)
.\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(91,17): (91,20) error FSHARP: The value, constructor, namespace or type 'Dom' is not defined. (code 39)
... 

This is caused by a missing dependency of Fable.Browser.Dom.

I'll probably have some time to fix in myself soon, but for the time being I figured it would be good to have this reported here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions