-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
TS Server fatal error: Cannot read property 'lastIndexOf' of undefined #44953
Comments
(Experimental duplicate detection)
|
Please follow the steps in the issue to provide additional information, such as the server log |
I believe MacOS uses a case-insensitive file system by default, so it would have hit the same issue as Windows , but that also means that the same mitigation should apply (with the caveat that all bets are off if your project spans both case-sensitive and case-insensitive file systems). |
I'm experiencing the same issue (same stack trace) so TS has been unusable for the past few days Edit: Downgraded to 4.0.5 and now is working |
Someone gave some info on how to repro: #43105 (comment) Not sure if that’s actually enough to create a repro, but looking at |
I faced this issue after upgrading from |
Facing the same issue when |
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.4.0-dev.20210707
Steps to reproduce crash
TS Server Log
❗️ Please review and upload this log file to help us diagnose this crash:
/Users/jake/Library/Application Support/Code/logs/20210627T002751/exthost17/vscode.typescript-language-features/tsserver-log-jDF14S/tsserver.log
The log file may contain personal data, including full paths and source code from your workspace. You can scrub the log file to remove paths or other personal information.
TS Server Error Stack
Server:
semantic
VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:32.912Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (87)
(17 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: