onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.84k stars 282 forks source link

npm run watch command fails #3769

Closed eEQK closed 3 years ago

eEQK commented 3 years ago

When I try to run a continuous build with npm run watch, it fails:

$ esy b dune build --watch -p libvim,textmate,Oni2 -j4

File "src/Service/Terminal/dune", line 5, characters 60-65:
5 |    Oni2.exthost Revery Oni2.feature.pane Oni2.feature.theme vterm isolinear
                                                                ^^^^^
Error: Library "vterm" not found.
Hint: try:
  dune external-lib-deps --missing -p libvim,textmate,Oni2 -j 4 --watch @install
File "src/Store/dune", line 17, characters 49-59:
17 |    isolinear libvim Oni2.KeyboardLayout textmate treesitter)
                                                      ^^^^^^^^^^
Error: Library "treesitter" not found.
Hint: try:
  dune external-lib-deps --missing -p libvim,textmate,Oni2 -j 4 --watch @install
File "src/Syntax/dune", line 5, characters 48-58:
5 |    Oni2.core Oni2.exthost Rench Revery textmate treesitter)
                                                    ^^^^^^^^^^
Error: Library "treesitter" not found.
Hint: try:
  dune external-lib-deps --missing -p libvim,textmate,Oni2 -j 4 --watch @install
File "src/Syntax_Client/dune", line 5, characters 37-47:
5 |    Oni2.syntax Rench Revery textmate treesitter Oni2.exthost))
                                         ^^^^^^^^^^
Error: Library "treesitter" not found.
Hint: try:
  dune external-lib-deps --missing -p libvim,textmate,Oni2 -j 4 --watch @install
File "src/Syntax_Server/dune", line 5, characters 48-58:
5 |    Oni2.syntax Oni2.model Rench Revery textmate treesitter Oni2.exthost))
                                                    ^^^^^^^^^^
Error: Library "treesitter" not found.
Hint: try:
  dune external-lib-deps --missing -p libvim,textmate,Oni2 -j 4 --watch @install
File "src/editor-terminal/dune", line 6, characters 32-37:
6 |  (libraries Oni2.core isolinear vterm Revery reason-skia))
                                    ^^^^^
Error: Library "vterm" not found.
Hint: try:
  dune external-lib-deps --missing -p libvim,textmate,Oni2 -j 4 --watch @install
                                             ^C