TS Server Crashes When Enabling Strict Mode "strict": true
ouweiya opened this issue · comments
ouweiya commented
The ts-lit-plugin and vscode-lit-plugin both crash when strict mode "strict": true is enabled. However, the CLI tool lit-analyzer works fine under the same configuration.
Dependencies:
"ts-lit-plugin": "^2.0.0-pre.1", "typescript": "^5.1.3",
Plugin Configuration
{
"compilerOptions": {
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true,
}
]
}
}
log
2023-06-21 14:25:34.997 [info] <syntax> Forking...
2023-06-21 14:25:34.997 [info] <syntax> Starting...
2023-06-21 14:25:34.997 [info] <semantic> Log file: c:\Users\jack\AppData\Roaming\Code\logs\20230621T140125\window1\exthost\vscode.typescript-language-features\tsserver-log-ZQhmjV\tsserver.log
2023-06-21 14:25:34.997 [info] <semantic> Forking...
2023-06-21 14:25:34.997 [info] <semantic> Starting...
2023-06-21 14:25:35.089 [error] TSServer exited. Code: null. Signal: SIGTERM
Peter Burns commented
Hm, maybe a change in how tsconfigs are processed in ts-lit-plugin? I'll investigate