Closed vadbertalan closed 3 months ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.92.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
After updating vscode to 1.92.1, the problem still persists.
VS Code does not ship with built-in Flow support and our builtin js/ts support may not handle flow files. To use Flow, install the flow extension and follow these instructions
Once configured properly, the TS server should try not parse flow files at all
Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 5.5.4 flow-bin: 0.158.0 Flow Language Support: 2.2.1 VSCode version: 1.92.0
Steps to reproduce crash
flow-typed
library and addflow-typed install
command to postinstall script inpackage.json
. - ❗️ NOTE: if this step is omitted and flow-typed lib definitions are not present, the JS/TS extension works fine. ❗️TS Server Log
❗️ Please review and upload this log file to help us diagnose this crash:
I scrubbed the log file.
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z) OS version: Darwin arm64 23.3.0 Modes:
Extensions (30)
Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 codesnap|adp|1.3.4 vscode-toggle-quotes|Bri|0.3.6 turbo-console-log|Cha|2.10.4 vscode-eslint|dba|3.0.10 gitlens|eam|15.2.3 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.4.0 vscode-jest-runner|fir|0.4.73 flow-for-vscode|flo|2.2.1 auto-rename-tag|for|0.1.10 copilot|Git|1.221.0 copilot-chat|Git|0.18.1 rest-client|hum|0.25.1 vscode-dimmer-block|ima|2.2.0 plantuml|jeb|2.18.1 git-graph|mhu|1.30.0 hexeditor|ms-|1.10.0 gradle-language|nac|0.2.3 color-highlight|nau|2.8.0 vscode-versionlens|pfl|1.14.2 material-icon-theme|PKi|5.8.0 vscode-xml|red|0.27.1 vscode-yaml|red|1.15.0 partial-diff|ryu|1.4.3 svg-preview|Sim|2.8.3 code-spell-checker|str|3.0.1 errorlens|use|3.20.0 FilterText|yhi|0.0.15 material-theme|zhu|3.17.2 (3 theme extensions excluded)