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

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

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

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

AndreiDegtiarev opened this issue Aug 12, 2017 · 3 comments

Comments

@AndreiDegtiarev
Copy link

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
Copy link
Member

granicz commented Aug 20, 2017

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

@AndreiDegtiarev
Copy link
Author

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
Copy link
Author

Same result for Beta 10

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

No branches or pull requests

3 participants