You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to start the server with ./build.sh, getting an exception:
➜ thegamma-sample-web git:(master) chmod +x build.sh
➜ thegamma-sample-web git:(master) ✗ ./build.sh
Checking Paket version (downloading latest stable)...
Copying version 3.23.2 from cache.
Done.
Paket version 3.23.2.0
5 seconds - ready.
Building project with version: LocalBuild
Shortened DependencyGraph for Target run:
<== run
<== start
The resulting target order is:
- start
- run
Starting Target: start
/Library/Frameworks/Mono.framework/Commands/mono "/Users/manuel/Work/code/thegamma/thegamma-sample-web/packages/FSharp.Compiler.Tools/tools/fsiAnyCpu.exe" --load:src/debug.fsx
F# Interactive for F# 4.1
Freely distributed under the Apache 2.0 Open Source License
For help type #help;;
Waiting for servers to start....
Waiting for servers to start....
[Loading /Users/manuel/Work/code/thegamma/thegamma-sample-web/src/debug.fsx]
Waiting for servers to start....
Waiting for servers to start....
Waiting for servers to start....
Waiting for servers to start....
Reloading 'app.fsx' script...
Waiting for servers to start....
Waiting for servers to start....
Refreshed server.
dirs to watch: ["/Users/manuel/Work/code/thegamma/thegamma-sample-web/src"]
watching dir: /Users/manuel/Work/code/thegamma/thegamma-sample-web/src
[I] 2016-10-16T21:56:07.8610970Z: listener started in 2220.269 ms with binding 127.0.0.1:8899 [Suave.Tcp.tcpIpServer]
Waiting for app.fsx edits. Press any key to stop.
Waiting for servers to start....
[E] 2016-10-16T21:56:08.6288160Z: request failed [Suave.Web.defaultErrorHandler] exn:
System.Collections.Generic.KeyNotFoundException: Exception of type 'System.Collections.Generic.KeyNotFoundException' was thrown.
at Microsoft.FSharp.Collections.SeqModule.Find[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] predicate, System.Collections.Generic.IEnumerable`1[T] source) [0x0003d] in <5584aad2904cf4daa7450383d2aa8455>:0
at FSI_0001.App+inits@35.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x0002e] in <fe0b7f87481145be9d8383949e7dbe07>:0
at Microsoft.FSharp.Control.LazyExtensions+Create@6241[T].Invoke () [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0
at System.Lazy`1[T].CreateValue () [0x00075] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
Waiting for servers to start....
[E] 2016-10-16T21:56:09.6597350Z: request failed [Suave.Web.defaultErrorHandler] exn:
System.Collections.Generic.KeyNotFoundException: Exception of type 'System.Collections.Generic.KeyNotFoundException' was thrown.
at Microsoft.FSharp.Collections.SeqModule.Find[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] predicate, System.Collections.Generic.IEnumerable`1[T] source) [0x0003d] in <5584aad2904cf4daa7450383d2aa8455>:0
at FSI_0001.App+inits@35.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x0002e] in <fe0b7f87481145be9d8383949e7dbe07>:0
at Microsoft.FSharp.Control.LazyExtensions+Create@6241[T].Invoke () [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0
at System.Lazy`1[T].CreateValue () [0x00075] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.Lazy`1[T].get_Value () [0x00032] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at FSI_0001.App+app@42.Invoke (Suave.Http+HttpRequest _arg1) [0x00006] in <fe0b7f87481145be9d8383949e7dbe07>:0
at Microsoft.FSharp.Core.FSharpFunc`2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] func, T arg1, TResult arg2) [0x00018] in <5584aad2904cf4daa7450383d2aa8455>:0
at FSI_0001.App+app@42-3.Invoke (Suave.Http+HttpContext context) [0x00013] in <fe0b7f87481145be9d8383949e7dbe07>:0
at FSI_0002.Debug+app@72-2.Invoke (Suave.Http+HttpContext ctx) [0x00006] in <22b755696e35437b83ce2ee83baaf256>:0
at Suave.WebPart+bind@14-5[a,b].Invoke (Microsoft.FSharp.Core.FSharpOption`1[T] _arg1) [0x00012] in <5768094c6d09e09ca74503834c096857>:0
at Microsoft.FSharp.Control.AsyncBuilderImpl+args@835-1[a,b].Invoke (a a) [0x00016] in <5584aad2904cf4daa7450383d2aa8455>:0
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! Should be fixed in 485f92c.
One thing I have not yet figured out how to do is to import the JS output from compiling the client-side component (in https://github.com/the-gamma/thegamma-script) into this repo. On a local machine, I do that via symlink, but that's quite hacky solution (I added the build output here in 8d193bd so that things run).
Is there some standard JavaScript eco-system way of doing this? (In longer term, I'll package thegamma-script on NPM, but for development, I want to keep updating it pretty much every minute or two :-)). If you have any hints on doing, that, I'd welcome any advice!
(I'll write some Readme on building thegamma-script in a few days!)
Hi,
Trying to start the server with
./build.sh
, getting an exception:The text was updated successfully, but these errors were encountered: