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

TypeError: e.destroy is not a function #1683

Open flyingFlowers opened 2 years ago

flyingFlowers commented 2 years ago

Bug Report

Describe the bug image

A clear and concise description of what the bug is.

To Reproduce

Please try to build a small repo with a repro of your problem and provide a link to it.

Doing that allows more people to quickly help you.

If you can't provide a repo then provide clear steps describing how to reproduce the issue.

  1. create-docz-app my-docz-app && cd my-docz-app
  2. Change src/index.mdx to
### Some mdx content

<IDontExist />
  1. Run npm run docz dev
  2. See error in browser
FOR BUGS: Insert debug trace

Expected behavior

A clear and concise description of what you expected to happen..

Environment

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.

flyingFlowers commented 2 years ago

quick start,not work!

imathis commented 2 years ago

It's also notable that example have manual download instructions which ask you to curl https://codeload.github.com/doczjs/docz/tar.gz/master which returns a 404.

sophyphreak commented 2 years ago

I am also seeing this error.

sophyphreak commented 2 years ago

I ran npx create-docz-app@0.1.3 docz-app-basic, and that seems to have corrected the problem.