Skip to content

TypeScript 4.0 broken on Node.js 6 #40166

@DanielRosenwasser

Description

@DanielRosenwasser
> volta install node@6
success: installed and set node@6.17.1 (with npm@3.10.10) as default                                                                                                      
> tsc
\tsc.js:5962
    var textToKeyword = new ts.Map(ts.getEntries(textToKeywordObj));
                        ^

TypeError: Iterator value undefined is not an entry object
    at new Map (native)
    at ts (tsc.js:5962:25)
    at Object.<anonymous> (tsc.js:7884:3)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputRescheduledThis issue was previously scheduled to an earlier milestone

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions