Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make init fails on missing opam-check-npm-deps #22

Open
Khady opened this issue Oct 4, 2024 · 1 comment
Open

make init fails on missing opam-check-npm-deps #22

Khady opened this issue Oct 4, 2024 · 1 comment

Comments

@Khady
Copy link
Contributor

Khady commented Oct 4, 2024

$ make init
opam switch create . 5.2.0 -y --deps-only

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}]
The following actions will be performed:
=== install 27 packages
  ∗ base-bigarray         base
  ∗ base-domains          base
  ∗ base-nnp              base
  ∗ base-threads          base     [required by dune]
  ∗ base-unix             base     [required by dune]
  ∗ cmdliner              1.3.0    [required by melange]
  ∗ cppo                  1.7.0    [required by melange]
  ∗ dune                  3.16.0   [required by melange-json, melange-json-native]
  ∗ dune-build-info       3.16.0   [required by melange]
  ∗ host-arch-x86_64      1
  ∗ host-system-other     1
  ∗ melange               4.0.1-52 [required by melange-json]
  ∗ menhir                20240715 [required by melange]
  ∗ menhirCST             20240715 [required by menhir]
  ∗ menhirLib             20240715 [required by menhir]
  ∗ menhirSdk             20240715 [required by menhir]
  ∗ ocaml                 5.2.0    [required by melange-json, melange-json-native]
  ∗ ocaml-base-compiler   5.2.0
  ∗ ocaml-compiler-libs   v0.17.0  [required by ppxlib]
  ∗ ocaml-config          3        [required by ocaml]
  ∗ ocaml-options-vanilla 1
  ∗ ppx_derivers          1.2.1    [required by ppxlib]
  ∗ ppxlib                0.33.0   [required by melange-json, melange-json-native]
  ∗ seq                   base     [required by yojson]
  ∗ sexplib0              v0.17.0  [required by ppxlib]
  ∗ stdlib-shims          0.3.0    [required by ppxlib]
  ∗ yojson                2.2.2    [required by melange-json-native]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved seq.base  (cached)
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
∗ installed host-arch-x86_64.1
∗ installed host-system-other.1
∗ installed ocaml-options-vanilla.1
⬇ retrieved cmdliner.1.3.0  (cached)
⬇ retrieved cppo.1.7.0  (cached)
⬇ retrieved ppx_derivers.1.2.1  (cached)
⬇ retrieved sexplib0.v0.17.0  (cached)
⬇ retrieved stdlib-shims.0.3.0  (cached)
⬇ retrieved yojson.2.2.2  (cached)
⬇ retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
⬇ retrieved ocaml-config.3  (2 extra sources)
⬇ retrieved ocaml-config.3  (2 extra sources)
⬇ retrieved ppxlib.0.33.0  (cached)
⬇ retrieved dune.3.16.0, dune-build-info.3.16.0  (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ocaml-base-compiler.5.2.0  (https://opam.ocaml.org/cache)
⬇ retrieved melange.4.0.1-52  (https://opam.ocaml.org/cache)
∗ installed ocaml-base-compiler.5.2.0
∗ installed ocaml-config.3
∗ installed ocaml.5.2.0
∗ installed base-domains.base
∗ installed base-nnp.base
∗ installed seq.base
∗ installed cmdliner.1.3.0
∗ installed dune.3.16.0
∗ installed cppo.1.7.0
∗ installed menhirCST.20240715
∗ installed menhirLib.20240715
∗ installed ppx_derivers.1.2.1
∗ installed stdlib-shims.0.3.0
∗ installed menhirSdk.20240715
∗ installed sexplib0.v0.17.0
∗ installed dune-build-info.3.16.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed yojson.2.2.2
∗ installed ppxlib.0.33.0
∗ installed menhir.20240715
∗ installed melange.4.0.1-52
Done.
yarn
yarn install v1.22.15
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.22s.
opam update

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from https://opam.ocaml.org
opam install -y . --deps-only --with-test
The following actions will be performed:
=== install 93 packages
  ∗ 0install-solver         2.18         [required by opam-0install-cudf]
  ∗ angstrom                0.16.1       [required by opam-check-npm-deps]
  ∗ astring                 0.8.5        [required by ocaml-lsp-server]
  ∗ base                    v0.17.1      [required by ocaml-lsp-server]
  ∗ base-bytes              base         [required by ocp-indent]
  ∗ base64                  3.5.1        [required by opam-client]
  ∗ bigstringaf             0.10.0       [required by angstrom]
  ∗ bos                     0.2.1        [required by opam-check-npm-deps]
  ∗ camlp-streams           5.0.1        [required by ocaml-lsp-server]
  ∗ chrome-trace            3.16.0       [required by ocaml-lsp-server]
  ∗ conf-c++                1.0          [required by mccs]
  ∗ csexp                   1.5.2        [required by ocaml-lsp-server]
  ∗ cudf                    0.10         [required by mccs]
  ∗ dose3                   7.0.0        [required by opam-solver]
  ∗ dune-configurator       3.16.0       [required by base]
  ∗ dune-rpc                3.16.0       [required by ocaml-lsp-server]
  ∗ dyn                     3.16.0       [required by ocaml-lsp-server]
  ∗ either                  1.0.0        [required by ocamlformat-lib]
  ∗ extlib                  1.8.0        [required by cudf]
  ∗ fiber                   3.7.0        [required by ocaml-lsp-server]
  ∗ fix                     20230505     [required by ocamlformat-lib, reason]
  ∗ fmt                     0.9.0        [required by opam-check-npm-deps]
  ∗ fpath                   0.7.3        [required by ocamlformat-lib, bos]
  ∗ jane-street-headers     v0.17.0      [required by time_now]
  ∗ jsonm                   1.0.2        [required by opam-core]
  ∗ jsonrpc                 1.19.0       [required by ocaml-lsp-server]
  ∗ jst-config              v0.17.0      [required by time_now]
  ∗ logs                    0.7.0        [required by bos]
  ∗ lsp                     1.19.0       [required by ocaml-lsp-server]
  ∗ lwt                     5.7.0        [required by lwt_ppx]
  ∗ lwt_ppx                 2.1.0        [required by opam-check-npm-deps]
  ∗ mccs                    1.1+18       [required by opam-check-npm-deps]
  ∗ melange-jest            0.1.1        [required by melange-json]
  ∗ merlin-extend           0.6.1        [required by reason]
  ∗ merlin-lib              5.2.1-502    [required by ocaml-lsp-server]
  ∗ ocaml-index             1.1
  ∗ ocaml-lsp-server        1.19.0       [required by melange-json]
  ∗ ocaml-syntax-shims      1.0.0        [required by angstrom]
  ∗ ocaml-version           3.6.9        [required by ocamlformat-lib]
  ∗ ocaml_intrinsics_kernel v0.17.1      [required by base]
  ∗ ocamlbuild              0.15.0       [required by astring, bos]
  ∗ ocamlc-loc              3.16.0       [required by ocaml-lsp-server]
  ∗ ocamlfind               1.9.6        [required by bos, astring, reason]
  ∗ ocamlformat             0.26.2       [required by melange-json]
  ∗ ocamlformat-lib         0.26.2       [required by ocamlformat]
  ∗ ocamlformat-rpc-lib     0.26.2       [required by ocaml-lsp-server]
  ∗ ocamlgraph              2.1.0        [required by dose3]
  ∗ ocp-indent              1.8.1        [required by ocamlformat-lib]
  ∗ ocplib-endian           1.2          [required by lwt]
  ∗ opam-0install-cudf      0.5.0        [required by opam-solver]
  ∗ opam-check-npm-deps     3.0.1        [required by melange-json]
  ∗ opam-client             2.3.0~alpha1 [required by opam-check-npm-deps]
  ∗ opam-core               2.3.0~alpha1 [required by opam-format]
  ∗ opam-file-format        2.1.6        [required by opam-format]
  ∗ opam-format             2.3.0~alpha1 [required by opam-repository, opam-solver]
  ∗ opam-repository         2.3.0~alpha1 [required by opam-client]
  ∗ opam-solver             2.3.0~alpha1 [required by opam-client]
  ∗ opam-state              2.3.0~alpha1 [required by opam-client]
  ∗ ordering                3.16.0       [required by ocaml-lsp-server]
  ∗ pp                      1.2.0        [required by ocaml-lsp-server]
  ∗ ppx_assert              v0.17.0      [required by jst-config]
  ∗ ppx_base                v0.17.0      [required by time_now]
  ∗ ppx_cold                v0.17.0      [required by ppx_base]
  ∗ ppx_compare             v0.17.0      [required by ppx_base]
  ∗ ppx_deriving            6.0.2        [required by ppx_deriving_yojson]
  ∗ ppx_deriving_yojson     3.9.0        [required by opam-check-npm-deps]
  ∗ ppx_enumerate           v0.17.0      [required by ppx_base]
  ∗ ppx_expect              v0.17.0      [required by opam-check-npm-deps]
  ∗ ppx_globalize           v0.17.0      [required by ppx_base]
  ∗ ppx_hash                v0.17.0      [required by ppx_base]
  ∗ ppx_here                v0.17.0      [required by ppx_expect, ppx_let]
  ∗ ppx_inline_test         v0.17.0      [required by opam-check-npm-deps]
  ∗ ppx_let                 v0.17.0      [required by opam-check-npm-deps]
  ∗ ppx_optcomp             v0.17.0      [required by time_now]
  ∗ ppx_sexp_conv           v0.17.0      [required by opam-check-npm-deps]
  ∗ ppx_yojson_conv_lib     v0.17.0      [required by ocaml-lsp-server]
  ∗ ppxlib_jane             v0.17.0      [required by ppx_globalize, ppx_enumerate, ppx_hash]
  ∗ re                      1.12.0       [required by ocaml-lsp-server, ocamlformat]
  ∗ reason                  3.12.0       [required by melange-json]
  ∗ result                  1.5          [required by ocamlformat-lib]
  ∗ rresult                 0.7.0        [required by bos]
  ∗ sha                     1.15.4       [required by opam-core]
  ∗ spawn                   v0.15.1      [required by ocaml-lsp-server]
  ∗ spdx_licenses           1.2.0        [required by opam-state]
  ∗ stdio                   v0.17.0      [required by ocamlformat-lib, ppx_expect]
  ∗ stdune                  3.16.0       [required by ocaml-lsp-server]
  ∗ swhid_core              0.1          [required by opam-core]
  ∗ time_now                v0.17.0      [required by ppx_inline_test]
  ∗ topkg                   1.0.7        [required by astring, bos]
  ∗ uucp                    16.0.0       [required by uuseg]
  ∗ uuseg                   16.0.0       [required by ocamlformat-lib]
  ∗ uutf                    1.0.3        [required by lsp, ocamlformat-lib]
  ∗ xdg                     3.16.0       [required by ocaml-lsp-server]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved 0install-solver.2.18  (cached)
⬇ retrieved angstrom.0.16.1  (cached)
⬇ retrieved astring.0.8.5  (cached)
⬇ retrieved base64.3.5.1  (cached)
⬇ retrieved bigstringaf.0.10.0  (cached)
⬇ retrieved bos.0.2.1  (cached)
⬇ retrieved camlp-streams.5.0.1  (cached)
⬇ retrieved csexp.1.5.2  (cached)
⬇ retrieved cudf.0.10  (cached)
⬇ retrieved dose3.7.0.0  (cached)
⬇ retrieved either.1.0.0  (cached)
⬇ retrieved extlib.1.8.0  (cached)
⬇ retrieved fiber.3.7.0  (cached)
⬇ retrieved fix.20230505  (cached)
⬇ retrieved fmt.0.9.0  (cached)
⬇ retrieved fpath.0.7.3  (cached)
⬇ retrieved jsonm.1.0.2  (cached)
⬇ retrieved jsonrpc.1.19.0, lsp.1.19.0, ocaml-lsp-server.1.19.0  (cached)
⬇ retrieved chrome-trace.3.16.0, dune-configurator.3.16.0, dune-rpc.3.16.0, dyn.3.16.0, ocamlc-loc.3.16.0, ordering.3.16.0, stdune.3.16.0, xdg.3.16.0  (cached)
⬇ retrieved logs.0.7.0  (cached)
⬇ retrieved lwt.5.7.0  (cached)
⬇ retrieved lwt_ppx.2.1.0  (cached)
⬇ retrieved mccs.1.1+18  (cached)
⬇ retrieved melange-jest.0.1.1  (cached)
⬇ retrieved merlin-extend.0.6.1  (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0  (cached)
⬇ retrieved ocaml-version.3.6.9  (cached)
⬇ retrieved ocamlbuild.0.15.0  (cached)
⬇ retrieved ocamlfind.1.9.6  (cached)
⬇ retrieved ocamlformat.0.26.2, ocamlformat-lib.0.26.2, ocamlformat-rpc-lib.0.26.2  (cached)
⬇ retrieved ocamlgraph.2.1.0  (cached)
⬇ retrieved ocp-indent.1.8.1  (cached)
⬇ retrieved ocplib-endian.1.2  (cached)
⬇ retrieved opam-0install-cudf.0.5.0  (cached)
⬇ retrieved opam-check-npm-deps.3.0.1  (cached)
⬇ retrieved opam-client.2.3.0~alpha1, opam-core.2.3.0~alpha1, opam-format.2.3.0~alpha1, opam-repository.2.3.0~alpha1, opam-solver.2.3.0~alpha1, opam-state.2.3.0~alpha1  (cached)
⬇ retrieved opam-file-format.2.1.6  (cached)
⬇ retrieved pp.1.2.0  (cached)
⬇ retrieved ppx_deriving.6.0.2  (cached)
⬇ retrieved ppx_deriving_yojson.3.9.0  (cached)
⬇ retrieved re.1.12.0  (cached)
⬇ retrieved reason.3.12.0  (cached)
⬇ retrieved result.1.5  (cached)
⬇ retrieved rresult.0.7.0  (cached)
⬇ retrieved sha.1.15.4  (cached)
⬇ retrieved spawn.v0.15.1  (cached)
⬇ retrieved spdx_licenses.1.2.0  (cached)
⬇ retrieved swhid_core.0.1  (cached)
⬇ retrieved topkg.1.0.7  (cached)
⬇ retrieved uucp.16.0.0  (cached)
⬇ retrieved uuseg.16.0.0  (cached)
⬇ retrieved uutf.1.0.3  (cached)
∗ installed conf-c++.1.0
∗ installed 0install-solver.2.18
∗ installed base64.3.5.1
∗ installed camlp-streams.5.0.1
∗ installed csexp.1.5.2
∗ installed either.1.0.0
∗ installed extlib.1.8.0
∗ installed fix.20230505
⬇ retrieved jane-street-headers.v0.17.0  (https://opam.ocaml.org/cache)
∗ installed jsonrpc.1.19.0
⬇ retrieved base.v0.17.1  (https://opam.ocaml.org/cache)
⬇ retrieved jst-config.v0.17.0  (https://opam.ocaml.org/cache)
∗ installed melange-jest.0.1.1
∗ installed merlin-extend.0.6.1
⬇ retrieved merlin-lib.5.2.1-502, ocaml-index.1.1  (https://opam.ocaml.org/cache)
∗ installed ocaml-syntax-shims.1.0.0
∗ installed ocaml-version.3.6.9
⬇ retrieved ocaml_intrinsics_kernel.v0.17.1  (https://opam.ocaml.org/cache)
∗ installed ocamlgraph.2.1.0
∗ installed opam-file-format.2.1.6
∗ installed pp.1.2.0
⬇ retrieved ppx_assert.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_base.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_cold.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_compare.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_enumerate.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_expect.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_globalize.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_hash.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_here.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_inline_test.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_let.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_optcomp.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_sexp_conv.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppx_yojson_conv_lib.v0.17.0  (https://opam.ocaml.org/cache)
⬇ retrieved ppxlib_jane.v0.17.0  (https://opam.ocaml.org/cache)
∗ installed re.1.12.0
∗ installed result.1.5
∗ installed spawn.v0.15.1
∗ installed spdx_licenses.1.2.0
⬇ retrieved stdio.v0.17.0  (https://opam.ocaml.org/cache)
∗ installed swhid_core.0.1
⬇ retrieved time_now.v0.17.0  (https://opam.ocaml.org/cache)
∗ installed ocamlformat-rpc-lib.0.26.2
∗ installed cudf.0.10
∗ installed jane-street-headers.v0.17.0
∗ installed ocaml_intrinsics_kernel.v0.17.1
∗ installed sha.1.15.4
∗ installed ppx_yojson_conv_lib.v0.17.0
∗ installed ppxlib_jane.v0.17.0
∗ installed opam-0install-cudf.0.5.0
∗ installed ordering.3.16.0
∗ installed dose3.7.0.0
∗ installed chrome-trace.3.16.0
∗ installed xdg.3.16.0
∗ installed dune-configurator.3.16.0
∗ installed bigstringaf.0.10.0
∗ installed dyn.3.16.0
∗ installed ocamlbuild.0.15.0
∗ installed mccs.1.1+18
∗ installed ocamlfind.1.9.6
∗ installed angstrom.0.16.1
∗ installed base.v0.17.1
∗ installed base-bytes.base
∗ installed merlin-lib.5.2.1-502
∗ installed ocamlc-loc.3.16.0
∗ installed stdio.v0.17.0
∗ installed ocplib-endian.1.2
∗ installed ppx_cold.v0.17.0
∗ installed ppx_deriving.6.0.2
∗ installed stdune.3.16.0
∗ installed ppx_compare.v0.17.0
∗ installed ppx_enumerate.v0.17.0
∗ installed ppx_globalize.v0.17.0
∗ installed ppx_here.v0.17.0
∗ installed topkg.1.0.7
∗ installed ppx_sexp_conv.v0.17.0
∗ installed ocp-indent.1.8.1
∗ installed ppx_optcomp.v0.17.0
∗ installed ppx_deriving_yojson.3.9.0
∗ installed fiber.3.7.0
∗ installed rresult.0.7.0
∗ installed ocaml-index.1.1
∗ installed uutf.1.0.3
∗ installed fmt.0.9.0
∗ installed astring.0.8.5
∗ installed ppx_let.v0.17.0
∗ installed ppx_hash.v0.17.0
∗ installed ppx_assert.v0.17.0
∗ installed jsonm.1.0.2
∗ installed dune-rpc.3.16.0
∗ installed fpath.0.7.3
∗ installed ppx_base.v0.17.0
∗ installed lwt.5.7.0
∗ installed jst-config.v0.17.0
∗ installed reason.3.12.0
∗ installed lsp.1.19.0
∗ installed logs.0.7.0
∗ installed lwt_ppx.2.1.0
∗ installed time_now.v0.17.0
∗ installed opam-core.2.3.0~alpha1
∗ installed ppx_inline_test.v0.17.0
∗ installed bos.0.2.1
∗ installed ppx_expect.v0.17.0
∗ installed ocaml-lsp-server.1.19.0
∗ installed opam-format.2.3.0~alpha1
∗ installed opam-repository.2.3.0~alpha1
∗ installed uucp.16.0.0
∗ installed opam-solver.2.3.0~alpha1
∗ installed uuseg.16.0.0
∗ installed opam-state.2.3.0~alpha1
∗ installed ocamlformat-lib.0.26.2
∗ installed opam-client.2.3.0~alpha1
∗ installed ocamlformat.0.26.2
∗ installed opam-check-npm-deps.3.0.1
Done.

<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or
   manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/me/Code/github/melange-json/_opam/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/me/Code/github/melange-json/_opam/share/ocp-indent/vim"
opam-check-npm-deps
make: opam-check-npm-deps: No such file or directory
make: *** [Makefile:26: install] Error 127
@jchavarri
Copy link
Member

jchavarri commented Oct 7, 2024

Can't reproduce. In my case it fails but for a different unrelated reason:

make init
$ make init
opam switch create . 5.2.0 -y --deps-only

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}]
The following actions will be performed:
=== install 27 packages
  ∗ base-bigarray         base
  ∗ base-domains          base
  ∗ base-nnp              base
  ∗ base-threads          base     [required by dune]
  ∗ base-unix             base     [required by dune]
  ∗ cmdliner              1.3.0    [required by melange]
  ∗ cppo                  1.7.0    [required by melange]
  ∗ dune                  3.16.0   [required by melange-json, melange-json-native]
  ∗ dune-build-info       3.16.0   [required by melange]
  ∗ host-arch-x86_64      1
  ∗ host-system-other     1
  ∗ melange               4.0.1-52 [required by melange-json]
  ∗ menhir                20240715 [required by melange]
  ∗ menhirCST             20240715 [required by menhir]
  ∗ menhirLib             20240715 [required by menhir]
  ∗ menhirSdk             20240715 [required by menhir]
  ∗ ocaml                 5.2.0    [required by melange-json, melange-json-native]
  ∗ ocaml-base-compiler   5.2.0
  ∗ ocaml-compiler-libs   v0.17.0  [required by ppxlib]
  ∗ ocaml-config          3        [required by ocaml]
  ∗ ocaml-options-vanilla 1
  ∗ ppx_derivers          1.2.1    [required by ppxlib]
  ∗ ppxlib                0.33.0   [required by melange-json, melange-json-native]
  ∗ seq                   base     [required by yojson]
  ∗ sexplib0              v0.17.0  [required by ppxlib]
  ∗ stdlib-shims          0.3.0    [required by ppxlib]
  ∗ yojson                2.2.2    [required by melange-json-native]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
⬇ retrieved cmdliner.1.3.0  (cached)
∗ installed host-arch-x86_64.1
∗ installed host-system-other.1
⬇ retrieved cppo.1.7.0  (cached)
⬇ retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
⬇ retrieved dune.3.16.0, dune-build-info.3.16.0  (cached)
⬇ retrieved melange.4.0.1-52  (cached)
⬇ retrieved ocaml-config.3  (cached)
∗ installed ocaml-options-vanilla.1
⬇ retrieved ocaml-base-compiler.5.2.0  (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0  (cached)
⬇ retrieved seq.base  (cached)
⬇ retrieved ppx_derivers.1.2.1  (cached)
⬇ retrieved ppxlib.0.33.0  (cached)
⬇ retrieved sexplib0.v0.17.0  (cached)
⬇ retrieved stdlib-shims.0.3.0  (cached)
⬇ retrieved yojson.2.2.2  (cached)
∗ installed ocaml-base-compiler.5.2.0
∗ installed ocaml-config.3
∗ installed ocaml.5.2.0
∗ installed base-domains.base
∗ installed base-nnp.base
∗ installed seq.base
∗ installed cmdliner.1.3.0
∗ installed dune.3.16.0
∗ installed cppo.1.7.0
∗ installed menhirCST.20240715
∗ installed stdlib-shims.0.3.0
∗ installed ppx_derivers.1.2.1
∗ installed menhirSdk.20240715
∗ installed menhirLib.20240715
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed sexplib0.v0.17.0
∗ installed dune-build-info.3.16.0
∗ installed yojson.2.2.2
∗ installed ppxlib.0.33.0
∗ installed menhir.20240715
∗ installed melange.4.0.1-52
Done.
yarn
yarn install v1.22.21
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.34s.
opam update

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from https://opam.ocaml.org
default (at https://opam.ocaml.org): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

Now run 'opam upgrade' to apply any package updates.
opam install -y . --deps-only --with-test
The following actions will be performed:
=== install 93 packages
  ∗ 0install-solver         2.18      [required by opam-0install-cudf]
  ∗ angstrom                0.16.1    [required by opam-check-npm-deps]
  ∗ astring                 0.8.5     [required by ocaml-lsp-server]
  ∗ base                    v0.17.1   [required by ocaml-lsp-server]
  ∗ base-bytes              base      [required by ocp-indent]
  ∗ base64                  3.5.1     [required by opam-client]
  ∗ bigstringaf             0.10.0    [required by angstrom]
  ∗ bos                     0.2.1     [required by opam-check-npm-deps]
  ∗ camlp-streams           5.0.1     [required by ocaml-lsp-server]
  ∗ chrome-trace            3.16.0    [required by ocaml-lsp-server]
  ∗ conf-c++                1.0       [required by mccs]
  ∗ csexp                   1.5.2     [required by ocaml-lsp-server]
  ∗ cudf                    0.10      [required by mccs]
  ∗ dose3                   7.0.0     [required by opam-solver]
  ∗ dune-configurator       3.16.0    [required by base]
  ∗ dune-rpc                3.16.0    [required by ocaml-lsp-server]
  ∗ dyn                     3.16.0    [required by ocaml-lsp-server]
  ∗ either                  1.0.0     [required by ocamlformat-lib]
  ∗ extlib                  1.8.0     [required by cudf]
  ∗ fiber                   3.7.0     [required by ocaml-lsp-server]
  ∗ fix                     20230505  [required by ocamlformat-lib, reason]
  ∗ fmt                     0.9.0     [required by opam-check-npm-deps]
  ∗ fpath                   0.7.3     [required by ocamlformat-lib, bos]
  ∗ jane-street-headers     v0.17.0   [required by time_now]
  ∗ jsonm                   1.0.2     [required by opam-core]
  ∗ jsonrpc                 1.19.0    [required by ocaml-lsp-server]
  ∗ jst-config              v0.17.0   [required by time_now]
  ∗ logs                    0.7.0     [required by bos]
  ∗ lsp                     1.19.0    [required by ocaml-lsp-server]
  ∗ lwt                     5.7.0     [required by lwt_ppx]
  ∗ lwt_ppx                 2.1.0     [required by opam-check-npm-deps]
  ∗ mccs                    1.1+18    [required by opam-check-npm-deps]
  ∗ melange-jest            0.1.1     [required by melange-json]
  ∗ merlin-extend           0.6.1     [required by reason]
  ∗ merlin-lib              5.2.1-502 [required by ocaml-lsp-server]
  ∗ ocaml-index             1.1
  ∗ ocaml-lsp-server        1.19.0    [required by melange-json]
  ∗ ocaml-syntax-shims      1.0.0     [required by angstrom]
  ∗ ocaml-version           3.6.9     [required by ocamlformat-lib]
  ∗ ocaml_intrinsics_kernel v0.17.1   [required by base]
  ∗ ocamlbuild              0.15.0    [required by astring, bos]
  ∗ ocamlc-loc              3.16.0    [required by ocaml-lsp-server]
  ∗ ocamlfind               1.9.6     [required by bos, astring, reason]
  ∗ ocamlformat             0.26.2    [required by melange-json]
  ∗ ocamlformat-lib         0.26.2    [required by ocamlformat]
  ∗ ocamlformat-rpc-lib     0.26.2    [required by ocaml-lsp-server]
  ∗ ocamlgraph              2.1.0     [required by dose3]
  ∗ ocp-indent              1.8.1     [required by ocamlformat-lib]
  ∗ ocplib-endian           1.2       [required by lwt]
  ∗ opam-0install-cudf      0.5.0     [required by opam-solver]
  ∗ opam-check-npm-deps     2.0.0     [required by melange-json]
  ∗ opam-client             2.2.1     [required by opam-check-npm-deps]
  ∗ opam-core               2.2.1     [required by opam-format]
  ∗ opam-file-format        2.1.6     [required by opam-format]
  ∗ opam-format             2.2.1     [required by opam-repository, opam-solver]
  ∗ opam-repository         2.2.1     [required by opam-client]
  ∗ opam-solver             2.2.1     [required by opam-client]
  ∗ opam-state              2.2.1     [required by opam-client]
  ∗ ordering                3.16.0    [required by ocaml-lsp-server]
  ∗ pp                      1.2.0     [required by ocaml-lsp-server]
  ∗ ppx_assert              v0.17.0   [required by jst-config]
  ∗ ppx_base                v0.17.0   [required by time_now]
  ∗ ppx_cold                v0.17.0   [required by ppx_base]
  ∗ ppx_compare             v0.17.0   [required by ppx_base]
  ∗ ppx_deriving            6.0.2     [required by ppx_deriving_yojson]
  ∗ ppx_deriving_yojson     3.9.0     [required by opam-check-npm-deps]
  ∗ ppx_enumerate           v0.17.0   [required by ppx_base]
  ∗ ppx_expect              v0.17.0   [required by opam-check-npm-deps]
  ∗ ppx_globalize           v0.17.0   [required by ppx_base]
  ∗ ppx_hash                v0.17.0   [required by ppx_base]
  ∗ ppx_here                v0.17.0   [required by ppx_expect, ppx_let]
  ∗ ppx_inline_test         v0.17.0   [required by opam-check-npm-deps]
  ∗ ppx_let                 v0.17.0   [required by opam-check-npm-deps]
  ∗ ppx_optcomp             v0.17.0   [required by time_now]
  ∗ ppx_sexp_conv           v0.17.0   [required by opam-check-npm-deps]
  ∗ ppx_yojson_conv_lib     v0.17.0   [required by ocaml-lsp-server]
  ∗ ppxlib_jane             v0.17.0   [required by ppx_globalize, ppx_enumerate, ppx_hash]
  ∗ re                      1.12.0    [required by ocaml-lsp-server, ocamlformat]
  ∗ reason                  3.12.0    [required by melange-json]
  ∗ result                  1.5       [required by ocamlformat-lib]
  ∗ rresult                 0.7.0     [required by bos]
  ∗ sha                     1.15.4    [required by opam-core]
  ∗ spawn                   v0.15.1   [required by ocaml-lsp-server]
  ∗ spdx_licenses           1.2.0     [required by opam-state]
  ∗ stdio                   v0.17.0   [required by ocamlformat-lib, ppx_expect]
  ∗ stdune                  3.16.0    [required by ocaml-lsp-server]
  ∗ swhid_core              0.1       [required by opam-core]
  ∗ time_now                v0.17.0   [required by ppx_inline_test]
  ∗ topkg                   1.0.7     [required by astring, bos]
  ∗ uucp                    16.0.0    [required by uuseg]
  ∗ uuseg                   16.0.0    [required by ocamlformat-lib]
  ∗ uutf                    1.0.3     [required by lsp, ocamlformat-lib]
  ∗ xdg                     3.16.0    [required by ocaml-lsp-server]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5  (cached)
⬇ retrieved angstrom.0.16.1  (cached)
⬇ retrieved 0install-solver.2.18  (cached)
⬇ retrieved base.v0.17.1  (cached)
⬇ retrieved base64.3.5.1  (cached)
⬇ retrieved bigstringaf.0.10.0  (cached)
⬇ retrieved bos.0.2.1  (cached)
⬇ retrieved camlp-streams.5.0.1  (cached)
⬇ retrieved csexp.1.5.2  (cached)
⬇ retrieved cudf.0.10  (cached)
⬇ retrieved either.1.0.0  (cached)
⬇ retrieved dose3.7.0.0  (cached)
∗ installed conf-c++.1.0
⬇ retrieved extlib.1.8.0  (cached)
⬇ retrieved fiber.3.7.0  (cached)
⬇ retrieved fix.20230505  (cached)
⬇ retrieved fmt.0.9.0  (cached)
⬇ retrieved fpath.0.7.3  (cached)
⬇ retrieved jsonm.1.0.2  (cached)
⬇ retrieved jane-street-headers.v0.17.0  (cached)
⬇ retrieved jst-config.v0.17.0  (cached)
⬇ retrieved logs.0.7.0  (cached)
⬇ retrieved lwt.5.7.0  (cached)
∗ installed csexp.1.5.2
∗ installed base64.3.5.1
∗ installed 0install-solver.2.18
∗ installed camlp-streams.5.0.1
∗ installed either.1.0.0
⬇ retrieved jsonrpc.1.19.0, lsp.1.19.0, ocaml-lsp-server.1.19.0  (cached)
⬇ retrieved chrome-trace.3.16.0, dune-configurator.3.16.0, dune-rpc.3.16.0, dyn.3.16.0, ocamlc-loc.3.16.0, ordering.3.16.0, stdune.3.16.0, xdg.3.16.0  (cached)
∗ installed extlib.1.8.0
∗ installed fix.20230505
∗ installed jane-street-headers.v0.17.0
⬇ retrieved lwt_ppx.2.1.0  (cached)
⬇ retrieved mccs.1.1+18  (cached)
∗ installed jsonrpc.1.19.0
⬇ retrieved melange-jest.0.1.1  (cached)
⬇ retrieved merlin-extend.0.6.1  (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0  (cached)
⬇ retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
⬇ retrieved ocaml-version.3.6.9  (https://opam.ocaml.org/cache)
⬇ retrieved ocamlbuild.0.15.0  (cached)
⬇ retrieved ocamlfind.1.9.6  (cached)
⬇ retrieved ocamlformat.0.26.2, ocamlformat-lib.0.26.2, ocamlformat-rpc-lib.0.26.2  (cached)
∗ installed cudf.0.10
∗ installed melange-jest.0.1.1
∗ installed merlin-extend.0.6.1
∗ installed ocaml-syntax-shims.1.0.0
∗ installed ocaml_intrinsics_kernel.v0.17.1
∗ installed ocaml-version.3.6.9
⬇ retrieved merlin-lib.5.2.1-502, ocaml-index.1.1  (https://opam.ocaml.org/cache)
∗ installed chrome-trace.3.16.0
∗ installed dune-configurator.3.16.0
∗ installed ordering.3.16.0
∗ installed xdg.3.16.0
⬇ retrieved ocamlgraph.2.1.0  (cached)
⬇ retrieved ocp-indent.1.8.1  (cached)
∗ installed ocamlformat-rpc-lib.0.26.2
∗ installed mccs.1.1+18
⬇ retrieved ocplib-endian.1.2  (cached)
⬇ retrieved opam-0install-cudf.0.5.0  (cached)
⬇ retrieved opam-check-npm-deps.2.0.0  (cached)
⬇ retrieved opam-file-format.2.1.6  (cached)
⬇ retrieved pp.1.2.0  (cached)
⬇ retrieved opam-client.2.2.1, opam-core.2.2.1, opam-format.2.2.1, opam-repository.2.2.1, opam-solver.2.2.1, opam-state.2.2.1  (cached)
∗ installed bigstringaf.0.10.0
∗ installed opam-0install-cudf.0.5.0
⬇ retrieved ppx_assert.v0.17.0  (cached)
∗ installed opam-file-format.2.1.6
⬇ retrieved ppx_base.v0.17.0  (cached)
∗ installed pp.1.2.0
∗ installed ocamlbuild.0.15.0
∗ installed ocamlgraph.2.1.0
⬇ retrieved ppx_cold.v0.17.0  (cached)
∗ installed angstrom.0.16.1
⬇ retrieved ppx_compare.v0.17.0  (cached)
⬇ retrieved ppx_deriving.6.0.2  (cached)
⬇ retrieved ppx_deriving_yojson.3.9.0  (cached)
⬇ retrieved ppx_enumerate.v0.17.0  (cached)
⬇ retrieved ppx_globalize.v0.17.0  (cached)
⬇ retrieved ppx_here.v0.17.0  (cached)
⬇ retrieved ppx_expect.v0.17.0  (cached)
⬇ retrieved ppx_hash.v0.17.0  (cached)
⬇ retrieved ppx_inline_test.v0.17.0  (cached)
⬇ retrieved ppx_let.v0.17.0  (cached)
⬇ retrieved ppx_optcomp.v0.17.0  (cached)
⬇ retrieved ppx_sexp_conv.v0.17.0  (cached)
⬇ retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
⬇ retrieved ppxlib_jane.v0.17.0  (cached)
⬇ retrieved re.1.12.0  (cached)
⬇ retrieved result.1.5  (cached)
⬇ retrieved rresult.0.7.0  (cached)
⬇ retrieved sha.1.15.4  (cached)
⬇ retrieved spawn.v0.15.1  (cached)
⬇ retrieved spdx_licenses.1.2.0  (cached)
⬇ retrieved reason.3.12.0  (cached)
⬇ retrieved stdio.v0.17.0  (cached)
⬇ retrieved swhid_core.0.1  (cached)
⬇ retrieved time_now.v0.17.0  (cached)
⬇ retrieved uuseg.16.0.0  (cached)
⬇ retrieved topkg.1.0.7  (cached)
⬇ retrieved uutf.1.0.3  (cached)
∗ installed ppx_yojson_conv_lib.v0.17.0
⬇ retrieved uucp.16.0.0  (cached)
∗ installed result.1.5
∗ installed spdx_licenses.1.2.0
∗ installed dyn.3.16.0
∗ installed base.v0.17.1
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ installed ppxlib_jane.v0.17.0
∗ installed re.1.12.0
∗ installed sha.1.15.4
∗ installed spawn.v0.15.1
∗ installed swhid_core.0.1
∗ installed ppx_cold.v0.17.0
∗ installed ppx_here.v0.17.0
∗ installed merlin-lib.5.2.1-502
∗ installed stdio.v0.17.0
∗ installed ocamlc-loc.3.16.0
∗ installed ppx_deriving.6.0.2
∗ installed ocp-indent.1.8.1
∗ installed ocplib-endian.1.2
∗ installed stdune.3.16.0
∗ installed ppx_compare.v0.17.0
∗ installed ppx_enumerate.v0.17.0
∗ installed ppx_globalize.v0.17.0
∗ installed ppx_sexp_conv.v0.17.0
∗ installed dose3.7.0.0
∗ installed ppx_let.v0.17.0
∗ installed ppx_optcomp.v0.17.0
∗ installed ppx_deriving_yojson.3.9.0
∗ installed ocaml-index.1.1
∗ installed topkg.1.0.7
∗ installed fiber.3.7.0
∗ installed rresult.0.7.0
∗ installed ppx_hash.v0.17.0
∗ installed ppx_assert.v0.17.0
∗ installed uutf.1.0.3
∗ installed astring.0.8.5
∗ installed fmt.0.9.0
∗ installed dune-rpc.3.16.0
∗ installed ppx_base.v0.17.0
∗ installed lwt.5.7.0
∗ installed jsonm.1.0.2
∗ installed fpath.0.7.3
∗ installed jst-config.v0.17.0
∗ installed lwt_ppx.2.1.0
∗ installed logs.0.7.0
∗ installed time_now.v0.17.0
∗ installed reason.3.12.0
∗ installed bos.0.2.1
∗ installed ppx_inline_test.v0.17.0
∗ installed opam-core.2.2.1
∗ installed lsp.1.19.0
∗ installed ppx_expect.v0.17.0
∗ installed opam-format.2.2.1
∗ installed ocaml-lsp-server.1.19.0
∗ installed opam-repository.2.2.1
∗ installed opam-solver.2.2.1
∗ installed uucp.16.0.0
∗ installed opam-state.2.2.1
∗ installed uuseg.16.0.0
∗ installed opam-client.2.2.1
∗ installed ocamlformat-lib.0.26.2
∗ installed ocamlformat.0.26.2
∗ installed opam-check-npm-deps.2.0.0
Done.

<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

  * for Emacs, add these lines to ~/.emacs:
    (add-to-list 'load-path "/home/me/code/melange-json/_opam/share/emacs/site-lisp")
    (require 'ocp-indent)

  * for Vim, add this line to ~/.vimrc:
    set rtp^="/home/me/code/melange-json/_opam/share/ocp-indent/vim"
opam-check-npm-deps
Ok: opam package "melange-jest.0.1.1" requires npm package: "jest" with constraint "^26.5.2", version installed: "26.6.3"
Error: opam package "melange-jest.0.1.1" requires npm package "@testing-library/jest-dom" with constraint "^5.10.0", but file "/home/me/code/melange-json/node_modules/@testing-library/jest-dom/package.json" can not be found
make: *** [Makefile:26: install] Error 1

@Khady I can see in the logs you shared that the opam-check-npm-deps package was correctly installed. Maybe we rely on the opam hook to be installed, and in your case it's not, so the new switch env doesn't get loaded properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants