Giter Site home page Giter Site logo

Comments (4)

namse avatar namse commented on April 27, 2024 7

i think if they use {presets: ['react', 'es2015']} for default option, they should tell us "use npm install --save babel-preset-es2015 babel-preset-react" on README.md.

from express-react-views.

vvo avatar vvo commented on April 27, 2024 1

Just in case someone is reading this, we had a very similar error asking us to install @babel/preset-react, we did that and it worked.

@zpao I believe we should update the docs of this repository to inform that @babel/preset-react is a peer dep and needs to be installed? Or maybe just declare it as a direct dep?

from express-react-views.

fzxt avatar fzxt commented on April 27, 2024

same issue here on both errors. EDIT: had to revert back to 0.9 to fix.

from express-react-views.

mweibel avatar mweibel commented on April 27, 2024

Yeah I think that's it @skatpgusskat. Though now after thinking a bit over it it seems clear to me why this is needed, but I guess a README update would help. Creating a PR.

from express-react-views.

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.