This dependency was not found:
To install it, you can run: npm install --save /Users/mac/Desktop/study/mdx/mdx/react-framework/.docz/app/index.jsx
it throw an error when i delete .docz
I would recommend:
rm -rf .docz node_modules
Then npm install or yarn install and retry.
For these types of issues, please always include node version, npm/yarn version, and the verbose output of running docz.
I forgot it锛宻orry.
[email protected]
[email protected]
[email protected]
It works before I use indexHtml: './src/docz.html' ,but after 锛宼he page is blank , so i delete .docz and use yarn docz dev , npm throw an error
ERROR Failed to compile with 2 errors
This dependency was not found:
* /Users/mac/Desktop/study/mdx/mdx/react-framework/.docz/app/index.jsx in multi ./node_modules/@babel/polyfill/lib/index.js ./.docz/app/index.jsx, mult
i webpack-hot-client/client?ef3d54ff-4c71-46b5-be0d-7e0806c2b5cc ./node_modules/@babel/polyfill/lib/index.js ./.docz/app/index.jsx
To install it, you can run: npm install --save /Users/mac/Desktop/study/mdx/mdx/react-framework/.docz/app/index.jsx
the page is blank ,because DOM #root has nothing.
<body>
<div id="root"></div>
<script src="/static/js/runtime~app.js">
</script><script src="/static/js/vendors.js">
</script><script src="/static/js/app.js"></script>
</body>
Describe the bug
After updating react & react-dom from 16.6.1 to 16.6.3 docz stopped building - either in dev or production build.
To Reproduce
npm installnpm run docz:dev ERROR Failed to compile with 2 errors 11:21:18 AM
This dependency was not found:
* /Users/kzuraw/Development/github/private/docz-bug/.docz/app/index.jsx in multi ./node_modules/@babel/polyfill/lib/index.js ./.docz/app/inde
x.jsx, multi webpack-hot-client/client?eaf55279-3fa6-4ab7-bf66-840a2a3ff7c1 ./node_modules/@babel/polyfill/lib/index.js ./.docz/app/index.jsx
To install it, you can run: npm install --save /Users/kzuraw/Development/github/private/docz-bug/.docz/app/index.jsx
Expected behavior
Docz runs & builds correctly.
Environment
Hey guys, try to delete your node_modules and install it again. Then, re run the docz, can be happening because the last release 馃檹
@pedronauck I've tried (I also removed .docz) folder - the problem still occurs
@krzysztofzuraw which version do you're using?
I've just updated to the newest - 0.12.12 and it fixed the issue - thank you 馃憦