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 }}
Repository navigation
realpathSync.native crash on rclone mount (Z:) during activation #5906
Describe the bug
The extension fails to activate when a workspace contains an rclone mount. The crash happens in warnIfPathCaseMismatch before workspace settings are applied. This causes problems later on
To Reproduce
Add a non-flutter/dart directory to the workspace, in this case mounting using rclone:
restart vscode/antigravity
Expected behavior
Log
2026-02-12 06:20:52.307 [error] Activating extension Dart-Code.dart-code failed due to an error:
2026-02-12 06:20:52.307 [error] Error: UNKNOWN: unknown error, realpath 'Z:'
at realpathSync.native (node:fs:2848:18)
at Function.native (node:electron/js2c/node_init:2:5760)
at warnIfPathCaseMismatch (c:\Users\Erikos.antigravity\extensions\dart-code.dart-code-3.128.0-universal\out\dist\extension.js:20757:130)
at activate (c:\Users\Erikos.antigravity\extensions\dart-code.dart-code-3.128.0-universal\out\dist\extension.js:2258:52)
at async KG.n (file:///c:/Users/Erikos/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:14166)
at async KG.m (file:///c:/Users/Erikos/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:14129)
at async KG.l (file:///c:/Users/Erikos/AppData/Local/Programs/Antigravity/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:13585)
You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.
Activity
DanTup commentedon Feb 12, 2026
I can't reproduce this with a drive mapped with
subst, but it seems reasonable to catch these exceptions and just use the original path in this case.I can't be sure there won't be other kinds of errors when running on a drive mounted with this way, but we should investigate them as they come up.
Thanks!
Catch exceptions calling `fs.realpathSync`
DanTup commentedon Feb 12, 2026
Fixed by 8f24b5c