Giter Site home page Giter Site logo

Comments (3)

lijunle avatar lijunle commented on April 27, 2024

This project has not used babel@6 yet. If you are using this package and babel@6 with npm@3. It gets a chance to mess up everything. Please try to use my fork in your package.json:

{
  "dependencies": {
      "express-react-views": "lijunle/express-react-views#babel-6"
  }
}

from express-react-views.

lemoustachiste avatar lemoustachiste commented on April 27, 2024

I have had a similar issue:

TypeError: Cannot read property 'error' of undefined
    at OptionManager.mergeOptions (project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:28)
    at OptionManager.addConfig (project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:107:10)
    at OptionManager.findConfigs (project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:168:35)
    at OptionManager.init (project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
    at compile (project/node_modules/babel-core/lib/api/register/node.js:117:22)
    at normalLoader (project/node_modules/babel-core/lib/api/register/node.js:199:14)
    at Object.require.extensions.(anonymous function) [as .js] (project/node_modules/babel-core/lib/api/register/node.js:216:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)

There was nothing particular in my code, and I made sure to clear any ES6 syntax, to no avail. Even the example was failing.
Pointing to @lijunle's fork solved it, but maybe the main repo should be updated?
Thanks

from express-react-views.

lijunle avatar lijunle commented on April 27, 2024

@zpao has taken care of this. See #58.

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.