doczjs / docz

✍ It has never been so easy to document your things!
https://docz.site
MIT License
23.55k stars 1.46k forks source link

Crash con project init with typescript #1650

Closed amatiasq closed 2 years ago

amatiasq commented 2 years ago

Bug Report

Crash on project init

To Reproduce

  1. Run npx create-docz-app docz-ts --example typescript
~/ssg-comparison> npx create-docz-app docz-ts --example typescript
Need to install the following packages:
  create-docz-app
Ok to proceed? (y) 
Creating a new Docz app in /Users/anon/ssg-comparison/docz-ts.

Downloading files for example typescript. This might take a moment.

Aborting installation.
Unexpected error. Please report it as a bug:
TypeError: e.destroy is not a function
    at /Users/anon/.npm/_npx/f6e6de91721365f0/node_modules/create-docz-app/dist/index.js:2:35630
    at Array.forEach (<anonymous>)
    at /Users/anon/.npm/_npx/f6e6de91721365f0/node_modules/create-docz-app/dist/index.js:2:35573
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
renatobenks commented 2 years ago

closing thiis because we don't officially support create-docz-app, so we strongly recommend you to add docz directly as a dependency instead, or then, open this issue on https://github.com/rakannimer/create-docz-app. Anyways, try to follow the getting started steps from our site on https://docz.site, or on https://github.com/doczjs/docz#getting-started