rakannimer / create-docz-app

4 stars 1 forks source link

Trying to create a new project with basic example results on an error #5

Open LinkSake opened 2 years ago

LinkSake commented 2 years ago

Using ether npx create-docz-app --example basic docz-app or yarn create docz-app --example basic docz-app results on an error.

Output for npx:

Creating a new Docz app in /Users/angel/docz-app.

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

Aborting installation.
Unexpected error. Please report it as a bug:
TypeError: e.destroy is not a function
    at /Users/angel/.config/yarn/global/node_modules/create-docz-app/dist/index.js:2:35630
    at Array.forEach (<anonymous>)
    at /Users/angel/.config/yarn/global/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)

Output for yarn:

yarn create v1.22.11
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...

success Installed "create-docz-app@0.1.4" with binaries:
      - create-docz-app
[####] 4/4Creating a new Docz app in /Users/angel/docz-app.

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

Aborting installation.
Unexpected error. Please report it as a bug:
TypeError: e.destroy is not a function
    at /Users/angel/.config/yarn/global/node_modules/create-docz-app/dist/index.js:2:35630
    at Array.forEach (<anonymous>)
    at /Users/angel/.config/yarn/global/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)

error Command failed.
Exit code: 1
Command: /usr/local/bin/create-docz-app
Arguments: --example basic docz-app
Directory: /Users/angel
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

I've installed create-docz-app via npm i -g create-docz-app on macOS 11.6 with node v16.10.0 and npm 7.24.1.

jeremyrajan commented 2 years ago

I get same error!

baezor commented 2 years ago

Same error!

sepsol commented 2 years ago

Same!

rp-estebancalvi commented 2 years ago

Same!

migsilva89 commented 2 years ago

Also!

ZenVega commented 1 year ago

Same here. On mac M1