fsprojects / FsReveal

FsReveal parses markdown and F# script file and generates reveal.js slides.
http://fsprojects.github.io/FsReveal
258 stars 102 forks source link

Unable to start on mono Docker #116

Open davidpodhola opened 6 years ago

davidpodhola commented 6 years ago

docker run -it mono:latest bash

copy the repository

run build.sh

experience

Running build failed.
Error:
System.ComponentModel.Win32Exception (0x80004005): Cannot find the specified file
  at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <fc308f916aec4e4283e0c1d4b761760a>:0 
  at System.Diagnostics.Process.Start () [0x00032] in <fc308f916aec4e4283e0c1d4b761760a>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <fc308f916aec4e4283e0c1d4b761760a>:0 
  at System.Diagnostics.Process.Start (System.String fileName) [0x00006] in <fc308f916aec4e4283e0c1d4b761760a>:0 
  at FSI_0005.Build.startWebServer () [0x001b4] in <00736b6c51654a049ff94f975744daa1>:0 
  at FSI_0005.Build+clo@132-5.Invoke (Microsoft.FSharp.Core.Unit _arg2) [0x00035] in <00736b6c51654a049ff94f975744daa1>:0 
  at Fake.TargetHelper+targetFromTemplate@195[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <574c61baccf1c534a7450383ba614c57>:0 
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00040] in <574c61baccf1c534a7450383ba614c57>:0
davidpodhola commented 6 years ago

OK, this is just because of

Process.Start (sprintf "http://localhost:%d/index.html" port) |> ignore

Commenting that out fixes the issue

Poltergeisen commented 5 years ago

I'm also experiencing this issue

Poltergeisen commented 5 years ago

Commenting out that code didn't seem to fix it for me though