You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It happened when I copied a function from another project (js) into my new ts project.
After replacing all "var" by "let" the error disappeared.
When I change a let back to var the error message starts again.
Here is the content of the Details page
Errors occurred during the build.
Errors running builder 'TypeScript Builder' on project 'BeachDefenseTS'.
Error while compiling with tsserver
java.util.concurrent.ExecutionException: ts.TypeScriptException: Error processing request. Debug Failure.
Error: Debug Failure.
at typeToString (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:24720:22)
at reportRelationError (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30049:34)
at isRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30166:21)
at typeArgumentsRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30317:35)
at structuredTypeRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30455:38)
at recursiveTypeRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30366:53)
at isRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30153:38)
at checkTypeRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30032:26)
at checkTypeAssignableTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:29772:20)
at checkVariableLikeDeclaration (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:38367:21)
Error while compiling with tsserver
java.util.concurrent.ExecutionException: ts.TypeScriptException: Error processing request. Debug Failure.
Error: Debug Failure.
at typeToString (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:24720:22)
at reportRelationError (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30049:34)
at isRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30166:21)
at typeArgumentsRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30317:35)
at structuredTypeRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30455:38)
at recursiveTypeRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30366:53)
at isRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30153:38)
at checkTypeRelatedTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:30032:26)
at checkTypeAssignableTo (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:29772:20)
at checkVariableLikeDeclaration (E:\...\.metadata\.plugins\ts.repository\repositories\2.4.1\node_modules\typescript\lib\tsserver.js:38367:21)
The text was updated successfully, but these errors were encountered:
It happened when I copied a function from another project (js) into my new ts project.
After replacing all "var" by "let" the error disappeared.
When I change a let back to var the error message starts again.
Here is the content of the Details page
The text was updated successfully, but these errors were encountered: