Skip to content

fix: cosmiconfig-typescript-loader v5 is not supported on node14 #3641

Closed
@ImDevinC

Description

@ImDevinC

Expected Behavior

Documentation says that node14 is currently supported, however this commit cosmiconfig-typescript-loader adds cosmiconfig-typescript-loader v5 which is not supported on node14 and throws an error when trying to install.

Due to the semver caret being used, this breaks multiple commitlint packages using 17.x.x including commitlint/load and commitlint/cli

Current Behavior

Cannot install on node14

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

No response

Steps to Reproduce

1. npm install @commitlint/cli

Context

No response

commitlint --version

@commitlint/[email protected]

git --version

git version 2.39.2 (Apple Git-143)

node --version

v14.20.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions