vscode-ocaml-platform icon indicating copy to clipboard operation
vscode-ocaml-platform copied to clipboard

VSCode warns and loops about dune preview install

Open davesnx opened this issue 2 months ago • 1 comments

https://github.com/user-attachments/assets/aa6b69a7-edc1-44fb-a796-afb63887098a

  • No opam switch installed
  • "Dune Developer Preview: build 2025-10-31T02:31:55Z, git revision 5ab19c20651809e31d597a4b1e4d70cad1c0e484
  • No ocaml-lsp installed it crashes when running
    une tools exec ocamllsp
    nternal error, please report upstream including the contents of _build/log.
    escription:
     ("No lock dir path for context available", { context = "default" })
    aised at Stdune__Code_error.raise in file "stdune__Code_error.ml", line 11,
     characters 30-62
    alled from Fiber__Core.O.(>>|).(fun) in file "fiber__Core.ml", line 258,
     characters 36-41
    alled from Fiber__Scheduler.exec in file "fiber__Scheduler.ml", line 77,
     characters 8-11
    > required by ("toplevel", ())
    
     must not crash.  Uncertainty is the mind-killer. Exceptions are the
    ittle-death that brings total obliteration.  I will fully express my cases.
    xecution will pass over me and through me.  And when it has gone past, I
    ill unwind the stack along its path.  Where the cases are handled there will
    e nothing.  Only I will remain.
    
  • vscode-ocaml-platform @ 1.32.4

davesnx avatar Nov 04 '25 10:11 davesnx

Without dune.lock it stops happening

davesnx avatar Nov 04 '25 11:11 davesnx