Skip to content

Error "Missing dependency …… in search path" #1087

Open
@remitbri

Description

@remitbri

Hello

I'm using ReScript 11.1.4 and extension 1.63.6

I have several modules in the style of

module FooBar = {
  let make = React.lazy_(() => Js.import(FooBar.make))
}

module App = {
  @react.component
  let make = () => {
    <div>
      {React.string("Foobar: ")}
      <FooBar />
    </div>
  }
}

where FooBar is another (existing) module.

The compiler running in the terminal is perfectly happy. If I open the module containing the code above in VSCode it's fine. But as soon as I edit the module, I've got an error from the extension displaying "Missing dependency FooBar in search path" at the beginning of the file. If I reload the module, no extension error until I edit the module. And again, the compiler in the terminal shows zero problem.

It's more an annoying than a stopping issue, sure (it took me, err, months to open the issue)

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