I've had the same issue multiple times and clearing vscodes cache fixed it for me personally. what is your version of haskell, I'm sure your haskell version is updated to the latest.
clearing cache worked for me