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
{{ message }}
Repository navigation
tsserver.js fails to run on node v5.4.1. "TypeError: this is not a typed array" at Buffer.from #25652
This means the TypeScript 3.0 language service doesn't work at all in the current version of Dev15
TypeScript Version: 3.0 Node version: v5.4.1
Just install VS 15.7 or node <v6 and run tsserver.js:
> C:\vs\d15.7\Web\External\x86\node.exe -v
v5.4.1
> C:\vs\d15.7\Web\External\x86\node.exe "C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js"
C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:119888
var buf = Buffer.from ? Buffer.from(s) : new Buffer(s);
^
TypeError: this is not a typed array.
at Function.from (native)
at Logger.write (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:119888:52)
at Logger.msg (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:119874:22)
at Logger.info (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:119847:22)
at ts.server.ts.server (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:120548:16)
at ts (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:120561:7)
at Object.<anonymous> (C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.0\tsserver.js:120562:3)
at Module._compile (module.js:397:26)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:429:10)
at startup (node.js:139:18)
at node.js:999:3
Activity