pedronauck/docz
The issue has been solved
Uncaught TypeError: Cannot read property 'close' of undefined #536
loryman posted onGitHub
Bug Report
Describe the bug
When i add docz
to a create-react-app
and start the server, it shows a blank page and it gives me this error.
To Reproduce
npx create-react-app my-app && cd my-app
yarn add docz docz-theme-default --dev
- Create a basic mdx file
yarn docz dev
- A blank page appears
- See this error in console:
Uncaught TypeError: Cannot read property 'close' of undefined
at Object.eval (index.js?e094:72)
at eval (index.js:230)
at Object../node_modules/chalk/index.js (vendors.js:554)
at __webpack_require__ (runtime~app.js:801)
at fn (runtime~app.js:164)
at eval (formatWebpackMessages.js?5b63:10)
at Object../node_modules/react-dev-utils/formatWebpackMessages.js (vendors.js:6800)
at __webpack_require__ (runtime~app.js:801)
at fn (runtime~app.js:164)
at eval (webpackHotDevClient.js?7ef4:23)
Expected behavior
The app should work
Environment
- OS: MacOS 10.14.1
- Node/npm version: Node 10.14.2/npm 6.4.1/Yarn 1.12.3
Fund this Issue
Rewarded pull request
π Release v1 #656submitted bypedronauck(191)
Click to copy link
Recent activities