Skip to content

Error with NodeJS 10 #260

Closed
Closed
@larskn

Description

@larskn

Bug or missing documentation (depends)

  • tslint-to-eslint-config version: 0.2.10
  • Node version: 10.16.3
  • OS: Windows 10 64-Bit

Actual Behavior

When running npx tslint-to-eslint-config with nodejs 10.16.3 installed, the following error occurs.

TypeError: [[rawConfiguration.extends],[reportedConfiguration.extends]].flat is not a function
at exports.findTSLintConfiguration [...]

After updating to 12.13.0 everything runs fine.

Is it intentional that only Node >=12 is supported? If yes, it might be useful to document it in the readme to prevent future bug reports.

Metadata

Metadata

Labels

documentationImprovements or additions to docstype: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions