Skip to content

Typescript analysis broken after update #1070

@ZeeD

Description

@ZeeD

After updating wwd I have this popup in the lower left corner with the error:

LSP (JavaScript-TypeScript Language Server)
Inlay Hints request failed. Requires TypeScript 4.4+.

every time I open a .ts file. and then the autocomplete is broken (the syntax colors still works)

a quick check on the running processes showed me

$ ps aux | grep typescript
a206719281       29496   0,0  1,2  7189320 392144 s000  T    10:02am   0:06.18 /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/.node/node-v18.12.1-darwin-x64/bin/node /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/@angular/language-server/index.js --ngProbeLocations /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/@angular/language-service --tsProbeLocations /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript --stdio --logVerbosity terse
a206719281       29605   0,0  0,0  4259848    420 s000  R+   10:03am   0:00.00 grep --color=auto typescript
a206719281       29502   0,0  0,2  6006784  72476 s000  T    10:02am   0:00.33 /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/.node/node-v18.12.1-darwin-x64/bin/node /Users/a206719281/eclipse-workspace/ocellus-js-sdk-src/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/a206719281/Library/Caches/typescript/3.9 --typesMapLocation /Users/a206719281/eclipse-workspace/ocellus-js-sdk-src/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
a206719281       29501   0,0  0,9  7160708 311168 s000  T    10:02am   0:06.62 /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/.node/node-v18.12.1-darwin-x64/bin/node /Users/a206719281/eclipse-workspace/ocellus-js-sdk-src/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --cancellationPipeName /private/var/folders/mn/0hdhd2fx0sd9bd3j5nx0v7bm0000gn/T/ad060e57d6f04070dac4cc326400012b/tscancellation* --globalPlugins typescript-plugin-css-modules,typescript-lit-html-plugin --pluginProbeLocations /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript-plugin-css-modules,/Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript-lit-html-plugin --locale en --validateDefaultNpmLocation
a206719281       29499   0,0  0,2 17299540  52640 s000  T    10:02am   0:00.55 /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/.node/node-v18.12.1-darwin-x64/bin/node /Users/a206719281/eclipse/java-latest/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript-language-server/lib/cli.js --stdio
$

shows me that there is a /Users/a206719281/Library/Caches/typescript/3.9 invoked. But this cache has been created by eclipse+wwd themselfs

I have recreated this problem from a clean installation of eclipse (latest - 2023-03) and just WWD (latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions