-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docz requires a Webpack install #56
Comments
Sorry, but I started a new folder here with just docz as dependency, then ran: |
Hmm you're right, I just tried that and it worked fine. We were also using Babel 6 so it's possible that was the real underlying cause, sorry! |
If you want to use babel 6 you can use |
Encountering this exact same issue. Re-cloned my project, installed fresh dependencies, and then installed Project is already running on |
So, you need webpack 4 to run docz, if you use webpack 2.6.1 you won't be abble to run @chrstntdd |
@pedronauck Ahh. Welp, time to hit that big upgrade button. Thank you! |
Bug Report
We didn't have Webpack installed, so Docz threw an error when running
docz dev
:Error: Cannot find module 'webpack/schemas/WebpackOptions.json'
npm i -D webpack
fixed the error immediately.To Reproduce
npm i -D docz
npx docz dev
Expected behavior
Docz should either have Webpack as a dependency or at least warn that a peerDependency is missing.
Environment
The text was updated successfully, but these errors were encountered: