Skip to content

Document Node version support / add a warning to tsdx create #432

@lpolito

Description

@lpolito

Current Behavior

If you're on Node 8 you get errors when trying to run tsdx create, but the reason for the failures are unclear.

nvm use 8.11.3

npx tsdx create bar

Failed to install dependencies
Error: Command failed with exit code 1: yarn add @types/jest @types/react @types/react-dom husky react react-dom tsdx tslib typescript --dev

Desired Behavior

When I run tsdx create it should tell me that my current Node version is not compatible.

Suggested Solution

Add a deprecation warning for unsupported Node versions when running tsdx create, as well as add Node versions supported in the README.md, and probably add a engines attribute to the package.json describing the same limitations.

Who does this impact? Who is this for?

All users.

Additional context

I only knew this by seeing the recent releases including this PR #426

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions