You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
I can't reproduce it anymore, but at some point I managed to get this error in the Output console:
[Info - 11:51:24 AM - porta/.flowconfig] restarting client
[Info - 11:51:24 AM - porta/.flowconfig] Unable to verify SHASUM256.txt.sign:
ENOENT: no such file or directory, open '/Users/user/projects/3scale/porta/node_modules/flow-bin/SHASUM256.txt.sign'
[Info - 11:51:24 AM - porta/.flowconfig] Found flow using option `useNPMPackagedFlow`
[Info - 11:51:24 AM - porta/.flowconfig] Using flow '/Users/user/projects/3scale/porta/node_modules/flow-bin/flow-osx-v0.152.0/flow' (v0.152.0)
Flow: the running server is a newer version of Flow (0.183.0) than the LSP (0.152.0)LSP is exiting. Hopefully the IDE will start an LSP with the same binary as the server[Error - 11:51:33 AM] Connection to server got closed. Server will not be restarted.
My guess is that VScode is using Flow (0.183.0) somehow, picking up the error, whereas running flow doesn't. Any ideas how to further debug this?
The text was updated successfully, but these errors were encountered:
is the file saved? yarn flow checks what's on disk, but vscode checks the unsaved file as you type.
as for why it tried to use 0.183: that's the version bundled with the extension. I'm guessing you hadn't run yarn yet, so node_modules/.bin/flow and node_modules/flow-bin/SHASUM256.txt didn't exist, so it fell back to the built-in version. since your pathToFlow is using the node module anyway, I'd suggest using useNPMPackagedFlow.
@romanlex that sounds like a different issue, please open a new one. but 0.133 is two years old (54 versions behind) so we can't really support that anymore.
I'm having a version conflict between VScode extension and npm package. An error is highlighted in the editor:
but it's not picked up by the binary:
Here's the logs from the Output console:
And here's my folder's config:
I can't reproduce it anymore, but at some point I managed to get this error in the Output console:
My guess is that VScode is using Flow (0.183.0) somehow, picking up the error, whereas running flow doesn't. Any ideas how to further debug this?
The text was updated successfully, but these errors were encountered: