FsReveal icon indicating copy to clipboard operation
FsReveal copied to clipboard

Unable to start on mono Docker

Open davidpodhola opened this issue 6 years ago • 3 comments

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 [email protected] (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 avatar Jul 27 '18 09:07 davidpodhola

OK, this is just because of

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

Commenting that out fixes the issue

davidpodhola avatar Jul 27 '18 09:07 davidpodhola

I'm also experiencing this issue

Poltergeisen avatar Jun 04 '19 20:06 Poltergeisen

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

Poltergeisen avatar Jun 04 '19 21:06 Poltergeisen