Error:Initialization error (typescript). Cannot find tsserverlibrary.js or tsserver.js file
IntelliJ 2017.2.1 - the typescript pane gives this error "Error:Initialization error (typescript). Cannot find tsserverlibrary.js or tsserver.js file"
There is absolutely no information as to how to resolve this anywhere searching the web or on jetbrains support. Please help solve this issue so my typescript typechecking works once again. Thank you.
Please sign in to leave a comment.
what do your TypeScript preferences look like? Please attach screenshots of Settings | Languages & Frameworks | TypeScript page and Configure Typescript compiler dialog (shown on pressing Edit next to TypeScript Version)
Hi. I have attacehed both screenshots. I tried changing the configure Typescript compiler to both "detect automatically" and "bundled" with no difference in the error message.
please change it to Bundled and restart the service
does the problem persist?
This is bizzare, I changed it to bundled, then unchecked "Enable typescript compiler" and suddenly it works. Now even when I change it back to "detect automatically" it works. I can't understand how it started working now? But it appears to be fixed as it is showing me proper typescript errors now. Thanks.