-
Notifications
You must be signed in to change notification settings - Fork 503
Document Node version support / add a warning to tsdx create #432
Copy link
Copy link
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed