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
I tried to install atom-typescript from package manager, with apm, and finally downloading a zip. I think it's not corrupted.
I get this in the developer console:
TypeError: undefined is not a function
at getDeclarationDiagnosticsForFile (evalmachine.<anonymous>:224:27)
at getDiagnosticsHelper (evalmachine.<anonymous>:192:24)
at Object.getDeclarationDiagnostics (evalmachine.<anonymous>:207:20)
at Object.getSemanticDiagnostics (evalmachine.<anonymous>:1504:50)
at getDiagnositcsByFilePath (...\atom-typescript\dist\main\lang\projectService.js:210:47)
at errorsForFile (...\atom-typescript\dist\main\lang\projectService.js:216:30)
at Object.errorsForFileFiltered (...\atom-typescript\dist\main\lang\projectService.js:70:12)
at Child.RequesterResponder.processRequest (...\atom-typescript\dist\worker\lib\workerLib.js:34:60)
at process.<anonymous> (...\atom-typescript\dist\worker\lib\workerLib.js:194:23)
at emitTwo (events.js:87:13)
Edit Closer inspection I see bunch of these slightly different, they all begin from emitTwo or process.emit
Edit I think something is calling EventEmitter.prototype.emit with wrong arguments, the arguments[2] is undefined when this error happens, and is passed to emitTwo. The gist of the problem maybe that [1,2,undefined].length === 3 and not 2. Though not sure what this events.js is.
The text was updated successfully, but these errors were encountered:
I tried to install atom-typescript from package manager, with apm, and finally downloading a zip. I think it's not corrupted.
I get this in the developer console:
When I try to save my index.ts file in atom. Here is the file and repository that causes this: https://github.com/Ciantic/model-validation/blob/master/index.ts it is not happening with all ts files.
Problem began after I had updated to 4.0.4
Oh, and running tsc works normally.
Edit Closer inspection I see bunch of these slightly different, they all begin from emitTwo or process.emit
Edit I think something is calling
EventEmitter.prototype.emit
with wrong arguments, thearguments[2]
is undefined when this error happens, and is passed to emitTwo. The gist of the problem maybe that[1,2,undefined].length === 3
and not2
. Though not sure what thisevents.js
is.The text was updated successfully, but these errors were encountered: