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

Beta 9 + Suave doesn't work on mono #739

Closed
AndreiDegtiarev opened this Issue Aug 12, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@AndreiDegtiarev

AndreiDegtiarev commented Aug 12, 2017

Test Zafir (Beta 6) + Suave project is working on Mono Version 4.8.1
Upgrade to Beta 9 leads to error messages in Mono (see below). On Windows 10 everything is OK.

System.Exception: Error in InlineControl at C:\Jenkins\workspace\zafir.ui.next\WebSharper.UI.Next\Doc.fs: 418.58-418.79: Couldn't find translation of method Application39.Client.Main. The method or type should have JavaScript attribute or a proxy, and the assembly needs to be compiled with WsFsc.exe
  at <StartupCode$WebSharper-Web>.$Control+fail@194-1[a].Invoke (System.String message) [0x00001] in <597b69c9e9c7b670a7450383c9697b59>:0 
  at Microsoft.FSharp.Core.PrintfImpl+StringPrintfEnv`1[TResult].Finalize () [0x00012] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.PrintfImpl+Final3@247[TState,TResidue,TResult,A,B,C].Invoke (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] env, A a, B b, C c) [0x0007d] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3301-2[T2,T3,T4,TResult,T1].Invoke (T2 u, T3 v, T4 w) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3266-1[T2,T3,TResult,T1].Invoke (T2 u, T3 v) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3253[T2,TResult,T1].Invoke (T2 u) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at <StartupCode$WebSharper-Web>.$Control+fail@194-4[a].Invoke (System.String arg30) [0x00001] in <597b69c9e9c7b670a7450383c9697b59>:0 
  at Microsoft.FSharp.Core.FSharpFunc`2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] func, T arg1, TResult arg2) [0x0001f] in <5584aad2904cf4daa7450383d2aa8455>:0 
@granicz

This comment has been minimized.

Show comment
Hide comment
@granicz

granicz Aug 20, 2017

Member

@AndreiDegtiarev Were you able to get it working with Beta 9 at the end?

Member

granicz commented Aug 20, 2017

@AndreiDegtiarev Were you able to get it working with Beta 9 at the end?

@AndreiDegtiarev

This comment has been minimized.

Show comment
Hide comment
@AndreiDegtiarev

AndreiDegtiarev Aug 20, 2017

No. I have installed Websharper 4 from August 15, 2017. Than I have created Websharper4 Suave-hosted Site Project Framework 4.6 without any modifications and than I got the same error

AndreiDegtiarev commented Aug 20, 2017

No. I have installed Websharper 4 from August 15, 2017. Than I have created Websharper4 Suave-hosted Site Project Framework 4.6 without any modifications and than I got the same error

@AndreiDegtiarev

This comment has been minimized.

Show comment
Hide comment
@AndreiDegtiarev

AndreiDegtiarev Aug 25, 2017

Same result for Beta 10

AndreiDegtiarev commented Aug 25, 2017

Same result for Beta 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment