Skip to content

schema does not define a "resolutions" field #2

@TheSpyder

Description

@TheSpyder

I just used this esy config to install ocaml-lsp-server on macOS Big Sur, and now the schema validation is showing it as incorrect. It thinks the only valid value type inside resolutions is string.

I guess that's because there isn't a specific resolutions field defined in the schema?

{
  "dependencies": {
    "@opam/ocaml-lsp-server": "*",
    "@opam/ocamlfind-secondary": "*",
    "@opam/reason": "*",
    "ocaml": "4.6.x"
  },
  "resolutions": {
    "ocaml": {
      "source": "esy-ocaml/ocaml#1805622dc40c1c569a1720078b5707eeba32b07d",
      "override": {
        "build": [
          "./esy-configure -no-cfi -cc \"gcc -Wno-implicit-function-declaration\" -prefix $cur__install",
          "./esy-build"
        ]
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions