eclipse-typescript icon indicating copy to clipboard operation
eclipse-typescript copied to clipboard

Errors occurred during the build.

Open Matzz opened this issue 9 years ago • 0 comments

I use eclipse luna cdt and wanted to add typescript support. When I save .ts file I'm getting error:

Errors occurred during the build.
Errors running builder 'TypeScript Builder' on project 'XYZ'.
The following request caused an error to be thrown:
{"endpoint":"language","method":"getAllDiagnostics","arguments":["XYZ"]}
TypeError: Cannot read property 'some' of undefined
    at LanguageEndpoint.isSourceFile (C:\Users\Matzz\.eclipse\org.eclipse.platform_4.4.2_639842945_win32_win32_x86_64\plugins\com.palantir.typescript_1.8.0.v20160421-1655\bin\bridge.js:54565:55)
    at C:\Users\Matzz\.eclipse\org.eclipse.platform_4.4.2_639842945_win32_win32_x86_64\plugins\com.palantir.typescript_1.8.0.v20160421-1655\bin\bridge.js:54363:60
    at Array.filter (native)
    at LanguageEndpoint.getAllDiagnostics (C:\Users\Matzz\.eclipse\org.eclipse.platform_4.4.2_639842945_win32_win32_x86_64\plugins\com.palantir.typescript_1.8.0.v20160421-1655\bin\bridge.js:54363:18)
    at Main.processRequest (C:\Users\Matzz\.eclipse\org.eclipse.platform_4.4.2_639842945_win32_win32_x86_64\plugins\com.palantir.typescript_1.8.0.v20160421-1655\bin\bridge.js:54605:37)
    at Interface.<anonymous> (C:\Users\Matzz\.eclipse\org.eclipse.platform_4.4.2_639842945_win32_win32_x86_64\plugins\com.palantir.typescript_1.8.0.v20160421-1655\bin\bridge.js:54594:23)
    at emitOne (events.js:90:13)
    at Interface.emit (events.js:182:7)
    at Interface._onLine (readline.js:211:10)
    at Interface.<anonymous> (readline.js:341:12)

Matzz avatar Apr 22 '16 20:04 Matzz