Vscode: module is not loaded and could not be found

I’m using vscode to edit a Phoenix app generated with the 1.7 RC. Occasionally, I’m seeing the vscode error shown below. It’s not a valid error. If I remove both the “_build” and “.elixir_ls” directories and then rebuild my application, the error goes away. The only Phoenix/Elixir related plugin that I’m currently using is ElixirLS. I’m guessing that plugin needs updates for 1.7.

There is an issue like this when elixir-ls is compiled with a different version of OTP than you’re using.