How can I create a new TSDX project?

439 views Asked by At

I want to create a new TSDX project. According to TSDX Quick Start documentation, I type

npx tsdx create g2

I select basic, and I get the following output:

~/devlocal npx tsdx create g2

::::::::::: ::::::::  :::::::::  :::    :::
    :+:    :+:    :+: :+:    :+: :+:    :+:
    +:+    +:+        +:+    +:+  +:+  +:+
    +#+    +#++:++#++ +#+    +:+   +#++:+
    +#+           +#+ +#+    +#+  +#+  +#+
    #+#    #+#    #+# #+#    #+# #+#    #+#
    ###     ########  #########  ###    ###

โœ” Choose a template ยท basic
โœ” Created g2
โœ– Failed to install dependencies
Error: Command failed with exit code 1: yarn add husky tsdx tslib typescript --dev

    at makeError (~/.npm/_npx/86071/lib/node_modules/tsdx/node_modules/execa/lib/error.js:56:11)
    at handlePromise (~/.npm/_npx/86071/lib/node_modules/tsdx/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async ~/.npm/_npx/86071/lib/node_modules/tsdx/dist/index.js:173:9

Any idea?

Thanks in advance!

  • node version: v14.9.0
  • yarn version: 1.22.5
  • npx version: 6.13.0
  • zsh 5.7.1 (x86_64-apple-darwin19.0)
  • macos 10.15.6 (19G73)
0

There are 0 answers