fslaborg / zzarchive-FsLab

A collection of packages for data science with F#
http://fslab.org
Other
159 stars 42 forks source link

./build.run fails for the default fs lab journal template #130

Closed EverybodyKurts closed 3 years ago

EverybodyKurts commented 7 years ago

Hello,

I downloaded the official journal template from the fs lab website, ran ./build.sh to pull down paket dependencies. Now, whenever I run /.build.sh run I get the error below. I'm on MacOS by the way.

─$ ./build.sh run
No version specified. Downloading latest stable.
Paket.exe 4.8.8.0 is up to date.
Paket version 4.8.8
1 second - ready.
FSharp.Formatting Information: 0 : FSharp.Formatting Logging setup!
Yaaf.FSharp.Scripting Information: 0 : Yaaf.FSharp.Scripting Logging setup!
Building project with version: LocalBuild
Shortened DependencyGraph for Target run:
<== run
   <== livehtml

The running order is:
  - livehtml
  - run
Running build with 1 worker
Starting Target: livehtml
Running build failed.
Error:
System.TypeLoadException: Could not load type of field '<StartupCode$FSharp-Formatting-Common>.$YaafFSharpScripting:checker@60' (2) due to: Could not load file or assembly 'FSharp.Compiler.Service, Version=2.0.0.6, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:FSharp.Compiler.Service, Version=2.0.0.6, Culture=neutral, PublicKeyToken=null type:<unknown type> member:<none>
  at Microsoft.FSharp.Core.OptimizedClosures+Adapt@3259[T1,T2,TResult].Invoke (T1 , T2 ) [0x0000d] in <5893d081904cf4daa745038381d09358>:0
  at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] folder, TState state, System.Collections.Generic.IEnumerable`1[T] source) [0x00037] in <5893d081904cf4daa745038381d09358>:0
  at Yaaf.FSharp.Scripting.FsiOptions.ofArgs (System.Collections.Generic.IEnumerable`1[T] args) [0x00017] in <5750b7f4bf4d44eba7450383f4b75057>:0
  at Microsoft.FSharp.Core.OptionModule.Map[T,TResult] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] mapping, Microsoft.FSharp.Core.FSharpOption`1[T] option) [0x0000d] in <5893d081904cf4daa745038381d09358>:0
  at FSharp.Literate.FsiEvaluator..ctor (Microsoft.FSharp.Core.FSharpOption`1[T] options, Microsoft.FSharp.Core.FSharpOption`1[T] fsiObj) [0x0000e] in <5750b7fc9515653da7450383fcb75057>:0
  at FsLab.Runner.createFsiEvaluator (FsLab.ProcessingContext ctx) [0x00022] in <58154aaed31c3e3fa7450383ae4a1558>:0
  at FsLab.Runner.processScriptFiles (System.Boolean overwrite, FsLab.ProcessingContext ctx) [0x00092] in <58154aaed31c3e3fa7450383ae4a1558>:0
  at FsLab.Journal.processJournals (FsLab.ProcessingContext ctx) [0x00001] in <58154aaed31c3e3fa7450383ae4a1558>:0
  at FSI_0005.Build.generateJournals (FsLab.ProcessingContext ctx) [0x00001] in <c943a887b5d6476fbc674c661269669f>:0
  at FSI_0005.Build+clo@106-10.Invoke (Microsoft.FSharp.Core.Unit _arg2) [0x0004c] in <c943a887b5d6476fbc674c661269669f>:0
  at Fake.TargetHelper+targetFromTemplate@209-1[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <592836c5ccf1c534a7450383c5362859>:0
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x0004b] in <592836c5ccf1c534a7450383c5362859>:0

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
livehtml   Failure
---------------------------------------------------------------------
Status:    Failure
---------------------------------------------------------------------
dsyme commented 3 years ago

FsLab is now changing to be an incubation space for F# data science projects, per discussion in https://github.com/fslaborg/zzarchive-FsLab/issues/137#issuecomment-741093688

Closing this out as it relates to the old FsLab package collection.