docz icon indicating copy to clipboard operation
docz copied to clipboard

TypeError: e.destroy is not a function

Open flyingFlowers opened this issue 2 years ago • 4 comments

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

  • docz version: [e.g. 2.0.0-rc.x or 1.3.2]
  • OS: OSX 10.15.7
  • Node/npm version: yarn 1.22.11

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

flyingFlowers avatar Nov 17 '21 06:11 flyingFlowers

quick start,not work!

flyingFlowers avatar Nov 17 '21 07:11 flyingFlowers

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.

imathis avatar Nov 29 '21 21:11 imathis

I am also seeing this error.

sophyphreak avatar Dec 02 '21 04:12 sophyphreak

I ran npx [email protected] docz-app-basic, and that seems to have corrected the problem.

sophyphreak avatar Dec 02 '21 04:12 sophyphreak