TypeScript shows no errors on yarn berry with pnpm nodeLinker

Hello,

Intellij works as expected to compile Typescript, if e.g. TypeScript from yarn berry (yarn2) is configured with pnp, for example.

But when I switch in .yarnrc.yml 

nodeLinker: pnpm

it stops working. It looks for me this is not supported, but should.


Notes:

The TypeScript path is in the format of : “myproject/node_modules/typescript” as its yarn pnpm

The documentation assumes that yarn2 is having automatically pnp, which is not true where format is “yarn:myproject/typescript”

 

 

See logs below:


2025-04-29 08:29:43,341 [ 691510]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Stdout output: \n
2025-04-29 08:29:43,341 [ 691510]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Starting language service output:

2025-04-29 08:29:43,341 [ 691510]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Stdout output: yarn exec <commandName> ...\n
2025-04-29 08:29:43,341 [ 691510]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Starting language service output: yarn exec <commandName> ...

2025-04-29 08:29:43,349 [ 691518]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Process [/Users//IdeaProjects/react-ui/node/node /Users/amend/IdeaProjects/react-ui/ui/.yarn/releases/yarn-4.8.1.cjs node /Users//Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/js-language-service.js -id=1745908183216 -debug-name=typescript --pluginProbeLocations /Users//IdeaProjects/react-ui,/Users/amend/IdeaProjects/react-ui/ui,/Users//Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/typescript --globalPlugins tsc-ide-plugin --cancellationPipeName /private/var/folders/t3/1ngngb_12fs4dbxlt20j_d4h0000gn/T/tsServerCancellationPipes1271/cmd*] was killed null
2025-04-29 08:29:43,350 [ 691519]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - End waiting for process starting. Result false
2025-04-29 08:29:43,350 [ 691519]   INFO - #c.i.l.j.s.JSLanguageServiceQueue - TypeScriptServerServiceImpl: Timed out waiting for ready notification
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after configure@159855819
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after configure@159855819
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for getSupportedCodeFixes@877108104
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after getSupportedCodeFixes@877108104
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after getSupportedCodeFixes@877108104
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1821497491
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1821497491
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for close@567493561
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1821497491
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1821497491
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for close@567493561
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after close@567493561
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after close@567493561
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Send initial state for 162024419
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1079169565
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1079169565
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@2023151998
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1079169565
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1079169565
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@2023151998
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@2066428450
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@2023151998
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@2023151998
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@2066428450
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@706809708
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@2066428450
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@2066428450
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@706809708
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@344028206
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@706809708
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@706809708
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@344028206
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1358075275
2025-04-29 08:29:43,350 [ 691519]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@344028206
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@344028206
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1358075275
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@157913649
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1358075275
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1358075275
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@157913649
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1530118492
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@157913649
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@157913649
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1530118492
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1759391845
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1530118492
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1530118492
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1759391845
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@221854550
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1759391845
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1759391845
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@221854550
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1088543082
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@221854550
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@221854550
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1088543082
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1062936502
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1088543082
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1088543082
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1062936502
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1400545782
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1062936502
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1062936502
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1400545782
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@103179333
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1400545782
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1400545782
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@103179333
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1305112893
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@103179333
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@103179333
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1305112893
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@2020309187
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1305112893
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1305112893
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@2020309187
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1348567729
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@2020309187
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@2020309187
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1348567729
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1644767259
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1348567729
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1348567729
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1644767259
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Trying to lock cache from blocking context for open@1588658885
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1644767259
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1644767259
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 825] Cache locked from blocking context for open@1588658885
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - New service queue was created and initialized: 162024419
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Trying to unlock cache from blocking context after open@1588658885
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 774] Cache unlocked from blocking context after open@1588658885
2025-04-29 08:29:43,351 [ 691520]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 135] Offloading applyChangedToOpenFiles@1087269545 to service coroutine
2025-04-29 08:29:43,352 [ 691521]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 821] Start sendCommandCancellable for applyChangedToOpenFiles@1087269545
2025-04-29 08:29:43,352 [ 691521]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 821] Trying to lock cache from suspend context for applyChangedToOpenFiles@1087269545
2025-04-29 08:29:43,352 [ 691521]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 821] Cache locked from suspend context for applyChangedToOpenFiles@1087269545
2025-04-29 08:29:43,352 [ 691521]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 821] TypeScriptServiceStandardOutputProtocol Request: {"sessionId":1745908183216,"seq":0,"type":"request","command":"change","arguments":{"endLine":106,"endOffset":1,"insertString":"import React from \u0027react\u0027;\n\nimport classNames from \u0027cla
................................(truncated)
2025-04-29 08:29:43,352 [ 691521]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 821] Cache unlocked from suspend context after applyChangedToOpenFiles@1087269545
2025-04-29 08:29:43,352 [ 691521]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 135] Command applyChangedToOpenFiles@1087269545 executed successfully
2025-04-29 08:29:43,353 [ 691522]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 135] Offloading provideInlayHints@746668813 to service coroutine
2025-04-29 08:29:43,353 [ 691522]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 192] Start sendCommandCancellable for provideInlayHints@746668813
2025-04-29 08:29:43,353 [ 691522]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 192] Trying to lock cache from suspend context for provideInlayHints@746668813
2025-04-29 08:29:43,353 [ 691522]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 192] Cache locked from suspend context for provideInlayHints@746668813
2025-04-29 08:29:43,353 [ 691522]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 192] TypeScriptServiceStandardOutputProtocol Request: {"sessionId":1745908183216,"seq":1,"type":"request","command":"provideInlayHints","arguments":{"start":1,"length":1788,"file":"/Users//IdeaProjects/react-ui/ui/src/components/typography/sections/section-text/section-text.tsx"}}
2025-04-29 08:29:43,353 [ 691522]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 192] Cache unlocked from suspend context after provideInlayHints@746668813
2025-04-29 08:29:43,353 [ 691522]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 135] Command provideInlayHints@746668813 executed successfully
2025-04-29 08:29:44,158 [ 692327]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:29:44,159 [ 692328]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Initialize by alive checker
2025-04-29 08:29:44,159 [ 692328]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Run compute process under locks
2025-04-29 08:29:44,159 [ 692328]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Attempting to create TypeScript server service queue
2025-04-29 08:29:44,159 [ 692328]   WARN - #c.i.l.j.s.JSLanguageServiceQueue - No interpreter found - cannot create language service queue.
2025-04-29 08:29:45,933 [ 694102]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:29:50,179 [ 698348]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:29:50,179 [ 698348]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive process queue 110544909
2025-04-29 08:29:52,155 [ 700324]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:29:52,156 [ 700325]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive process queue 162024419
2025-04-29 08:29:52,156 [ 700325]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Dispose by alive checker
2025-04-29 08:29:52,156 [ 700325]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Dispose queue TypeScriptServerServiceImpl with hashCode 162024419 by terminateStartedProcess call.
java.lang.Throwable
    at com.intellij.lang.javascript.service.JSAsyncLanguageServiceBase.disposeQueue(JSAsyncLanguageServiceBase.kt:303)
    at com.intellij.lang.javascript.service.JSAsyncLanguageServiceBase.terminateStartedProcessImpl(JSAsyncLanguageServiceBase.kt:291)
    at com.intellij.lang.javascript.service.JSAsyncLanguageServiceBase.checkAlive$lambda$6$lambda$5$lambda$4(JSAsyncLanguageServiceBase.kt:152)
    at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:236)
    at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:25)
    at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:198)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread$lambda$2(AnyThreadWriteThreadingSupport.kt:217)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread(AnyThreadWriteThreadingSupport.kt:216)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:843)
    at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:421)
    at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:103)
    at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:103)
    at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:109)
    at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:103)
    at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
    at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:117)
    at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16$lambda$15(IdeEventQueue.kt:355)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:857)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:354)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
    at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:917)
    at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
    at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1045)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1054)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1054)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:349)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:395)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
2025-04-29 08:29:52,159 [ 700328]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Disposing service TypeScriptServerServiceImpl with hashCode 162024419
java.lang.Throwable
    at com.intellij.lang.javascript.service.JSLanguageServiceExecutorImpl.doDispose(JSLanguageServiceExecutorImpl.kt:265)
    at com.intellij.lang.javascript.service.JSLanguageServiceQueueImpl.doDispose(JSLanguageServiceQueueImpl.kt:500)
    at com.intellij.lang.typescript.compiler.languageService.TypeScriptLanguageServiceQueueImpl.doDispose(TypeScriptLanguageServiceQueueImpl.kt:34)
    at com.intellij.lang.javascript.service.JSLanguageServiceExecutorImpl.dispose(JSLanguageServiceExecutorImpl.kt:253)
    at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:131)
    at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:163)
    at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205)
    at com.intellij.openapi.util.Disposer.dispose(Disposer.java:193)
    at com.intellij.lang.javascript.service.JSAsyncLanguageServiceBase$disposeExecutorSyncOrAsync$$inlined$Runnable$1.run(Runnable.kt:15)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:167)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at com.intellij.util.concurrency.ContextCallable.lambda$call$1(ContextCallable.java:85)
    at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:94)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:103)
    at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:103)
    at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:109)
    at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:103)
    at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
    at java.base/java.lang.Thread.run(Thread.java:1583)
2025-04-29 08:29:52,160 [ 700329]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - TypeScriptServerServiceImpl: Pool terminated
2025-04-29 08:29:54,164 [ 702333]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:29:54,164 [ 702333]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Initialize by alive checker
2025-04-29 08:29:54,164 [ 702333]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Run compute process under locks
2025-04-29 08:29:54,164 [ 702333]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Attempting to create TypeScript server service queue
2025-04-29 08:29:54,164 [ 702333]   WARN - #c.i.l.j.s.JSLanguageServiceQueue - No interpreter found - cannot create language service queue.
2025-04-29 08:29:55,938 [ 704107]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:30:00,184 [ 708353]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:30:00,185 [ 708354]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive process queue 110544909
2025-04-29 08:30:00,600 [ 708769]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Stderr output: Process 1745908080147 heartbeat: "alive" \n
2025-04-29 08:30:02,160 [ 710329]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Check alive is called
2025-04-29 08:30:02,161 [ 710330]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Initialize by alive checker
2025-04-29 08:30:02,161 [ 710330]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Run compute process under locks
2025-04-29 08:30:02,161 [ 710330]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - Attempting to create TypeScript server service queue
2025-04-29 08:30:02,165 [ 710334]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - TypeScriptServerServiceImpl: Creating OS Handler
2025-04-29 08:30:02,165 [ 710334]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 22] Trying to lock cache from blocking context for configure@1509341932
2025-04-29 08:30:02,165 [ 710334]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 22] Cache locked from blocking context for configure@1509341932
2025-04-29 08:30:02,165 [ 710334]  FINER - #c.i.l.j.s.JSLanguageServiceQueue - [Thread 22] Trying to lock cache from blocking context for getSupportedCodeFixes@205039931
2025-04-29 08:30:02,192 [ 710361]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Command line:IdeaProjects/react-ui/node/node /Users//IdeaProjects/react-ui/ui/.yarn/releases/yarn-4.8.1.cjs node /Users/amend/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/js-language-service.js -id=1745908202162 -debug-name=typescript --pluginProbeLocations /Users//IdeaProjects/react-ui,/Users/amend/IdeaProjects/react-ui/ui,/Users/amend/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/typescript --globalPlugins tsc-ide-plugin --cancellationPipeName /private/var/folders/t3/1ngngb_12fs4dbxlt20j_d4h0000gn/T/tsServerCancellationPipes1463/cmd*
2025-04-29 08:30:02,192 [ 710361]   FINE - #c.i.l.j.s.JSLanguageServiceQueue - Language service was started. Start initialization of the plugin

0

Unfortunately I failed to reproduce the issue in 2025.1:

Please could you share screenshots of Settings | Languages & Frameworks | Node.js and Settings | Languages & Frameworks | Typescript pages?

0

Hello, thanks for quick reply.

I did several experiments to use same versions from your screenshot above, but it is still not working in the other project.

I then created new empty project, used same version, copied same tsconfig file, and it also works. (important to note whenever switching typescript version, you must close all intellij instances and restart)

Any idea how to debug this further? Can it be because of many node_moduels or many files, as its a big enterprise scale project?

Once again, for pnp it works, but not pnpm. The configuration is the same as in empty project, where it also works with pnpm.


0

btw with 2025.1 its slightly different behavior than before:

it is not showing ts compile at all when pnpm, and on pnpm its flickering the problems all the time ( so most likely its still restarting the service again and again in old and new version)

0

In Settings | Languages & Frameworks | Node.js, please try choosing yarn binary instead of .cjs and re-open the project - does it help?

0

Thanks for patience to come back that late.

Indeed your suggestion fixes the problem - super surprising for me, as the whole company is using the configuration I sent to you. 

How can it be its only reproducable on bigger projects with the “wrong” config, and works fine with pnp mode, but not pnpm
 

Best

0
Great, thanks for the update!
0

请先登录再写评论。