Coder Social home page Coder Social logo

Comments (8)

Danjavia avatar Danjavia commented on July 28, 2024

I solve the issue creating a .babelrc file with this.

{
  "presets": ["react", "es2015", "stage-0"],
  "env": {
    "development": {
      "plugins": [

      ]
    },
    "production": {
      "plugins": [

      ]
    }
  }
}

from rekit.

supnate avatar supnate commented on July 28, 2024

Hi @Danjavia , Rekit doesn't use a .babelrc file but use package.json to config babel instead. Do you run npm start under the Rekit itself or an app created by Rekit?

from rekit.

Danjavia avatar Danjavia commented on July 28, 2024

on app created with rekit.

rekit appname
cd appname
npm install 
npm start

There was the proccess.

from rekit.

supnate avatar supnate commented on July 28, 2024

@Danjavia , thank you for the prompt reply. I just re-installed Rekit from npm but couldn't re-produce the issue. Could you provide more info about your system? Such as mac/win, npm version?

from rekit.

supnate avatar supnate commented on July 28, 2024

By the way, do you have a .babelrc in some place above the app folder?

from rekit.

Danjavia avatar Danjavia commented on July 28, 2024

Not I use the .babelrc in the root of the project folder appname/.babelrc here.

from rekit.

supnate avatar supnate commented on July 28, 2024

It should work if there's no .babelrc. But if there's one at some point above the appname folder, it may have issue.

from rekit.

Danjavia avatar Danjavia commented on July 28, 2024

ok, but the appname folder is directly on home in my pc

from rekit.

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.