Commit a6b4b95
committed
fix: correct TypeScript language server path resolution
The path to typescript-language-server was incorrect (3 levels up instead of 4).
Fixed path: src/extensions/default/TypeScriptLanguageServer/ → project root
- Was: ../../../node_modules/ (goes to src/node_modules - wrong!)
- Now: ../../../../node_modules/ (goes to project root - correct!)
Also added architecture documentation to clarify:
- Phoenix runs in browser
- client.js runs in Node.js via NodeDomain
- Language server runs as child process of client.js
- LSP protocol bridges browser ↔ Node.js ↔ language server
This was a critical bug that would prevent the language server from
starting because it couldn't find the typescript-language-server binary.1 parent 043ffa0 commit a6b4b95
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
27 | 41 | | |
28 | 42 | | |
29 | 43 | | |
30 | 44 | | |
31 | 45 | | |
32 | 46 | | |
33 | 47 | | |
34 | | - | |
| 48 | + | |
| 49 | + | |
35 | 50 | | |
36 | 51 | | |
37 | 52 | | |
| |||
0 commit comments