bluelovers / tsdx

Zero-config CLI for TypeScript package development
MIT License
0 stars 0 forks source link

Cannot create a new project #3

Open unfilledflag opened 1 year ago

unfilledflag commented 1 year ago

Current Behavior

XXXX@MORGAN ~/src/ % npx @bluelovers/tsdx create testlib

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

✔ Choose a template · react-with-storybook
✖ Failed to create testlib
Error: ENOENT: no such file or directory, lstat '/home/XXXX/.npm/_npx/c50834803307cbbf/node_modules/@bluelovers/tsdx/dist/index/templates/react-with-storybook'

Expected behavior

Should create a project from the indicated preset.

bluelovers commented 4 months ago

use yarn-tool init --tsdx