Giter Site home page Giter Site logo

Docz requires a Webpack install about docz HOT 6 CLOSED

doczjs avatar doczjs commented on April 28, 2024
Docz requires a Webpack install

from docz.

Comments (6)

pedronauck avatar pedronauck commented on April 28, 2024 1

So, you need webpack 4 to run docz, if you use webpack 2.6.1 you won't be abble to run @chrstntdd

from docz.

chrstntdd avatar chrstntdd commented on April 28, 2024 1

@pedronauck Ahh. Welp, time to hit that big upgrade button. Thank you!

from docz.

pedronauck avatar pedronauck commented on April 28, 2024

Sorry, but I started a new folder here with just docz as dependency, then ran: npx docz dev e didn't happen any error. Can you give some information about your project?

from docz.

oliverjam avatar oliverjam commented on April 28, 2024

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!

from docz.

pedronauck avatar pedronauck commented on April 28, 2024

If you want to use babel 6 you can use docz-plugin-babel6 👍

from docz.

chrstntdd avatar chrstntdd commented on April 28, 2024

Encountering this exact same issue. Re-cloned my project, installed fresh dependencies, and then installed docz with npm i -D docz. Running docz dev caused the same error message as the OP 😢

Project is already running on webpack 2.6.1 and babel 7.

from docz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.