Skip to content

TypeScript 4.0 broken on Node.js 6 #40166

Closed

Description

> volta install node@6
success: installed and set [email protected] (with [email protected]) 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)

Activity

  1. added
    Bug
    Crash
    on Aug 21, 2020
  2. RyanCavanaugh commented on Aug 21, 2020

    @RyanCavanaugh
    Member

    I didn't think we supported node 6 anymore?

  3. DanielRosenwasser commented on Aug 21, 2020

    @DanielRosenwasser
    MemberAuthor

    We don't test on it; but it's only 4 years old; we're supposed to work in environments going back to ES5 though.

  4. sindresorhus commented on Aug 21, 2020

    @sindresorhus
  5. added
    Rescheduled
    on Mar 4, 2021
  6. RyanCavanaugh commented on Feb 3, 2022

    @RyanCavanaugh
    Member

    It doesn't seem like anyone cares and this is even further out of the support window; closing.

  7. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugCrashRescheduled

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions