-
Notifications
You must be signed in to change notification settings - Fork 153
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
Cached typecheck results not yet available, Code: -32603 #583
Comments
Can you please enable Fsharp.verboseLogging = true, and copy the entire F# output log here instead of a tiny sliver? |
Thanks @baronfel. I'm very new here, where do I set that flag and where can I find the entire output log? (I've tried at the root level of my |
Not sure about coc.nvim, but you're expected to set that setting in the initialize call that the LSP client uses to start the LSP server. |
I actually get this "error" as well sometime after I have deleted build artifacts (obj/bin), I only have to trigger a file save (i.e. by writing a space somewhere then saving the file) which seems to reset ionide's cache and reloads the symbols information into the workspace |
@baronfel I passed the
|
When I try the solution of @Zaid-Ajaj (add space, save, try again), I get this error, followed by a repeat of the 'Cached typecheck results' error.
If I try autoinitializing the workspace using the initialization options
and then add space, save, try again, I get this output (followed by the same Cached typecheck results error):
Sounds like it could be an example of ionide/ionide-vscode-fsharp#1244? |
It looked like these options might help me but I've tried in a few different places in
|
The project you're trying to use is really old - it's targeting an old version of F#, an old version of .Net (non-.Net Core, requiring mono), and uses old "verbose" project files. Do you have mono installed, have you restored packages, can you build the project? |
@Krzysztof-Cieslak, thanks for letting me know, I am new to the ecosystem and hadn't realized any of this. I switched to trying with a newer project, and after using I'll close this now and try to understand exactly what was wrong on my own, but any info that could help me understand better would still be appreciated! Thanks for your help. |
I have tried running this plugin on both macOS and linux (NixOS) via vim (
coc.nvim
), and I have observed the same error on both operating systems. Here's the process I've followed:dotnet tool restore && dotnet fake build --target LocalRelease
coc.nvim
as followsOn both occasions, I see the following error in my logs:
Can anyone advise on how to resolve this issue?
The text was updated successfully, but these errors were encountered: