Skip to content
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

Babel deprecated #3

Open
PaulRBerg opened this issue Jan 22, 2019 · 2 comments
Open

Babel deprecated #3

PaulRBerg opened this issue Jan 22, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@PaulRBerg
Copy link

Running the build command, I get:

You have mistakenly installed the `babel` package, which is a no-op in Babel 6.
Babel's CLI commands have been moved from the `babel` package to the `babel-cli` package.

    npm uninstall babel
    npm install --save-dev babel-cli

Installing babel-cli and babel-preset-env solved the issue.

@flexdinesh
Copy link
Owner

@PaulRBerg Thanks for bringing this up. I'll find some time in the next few days to fix this. Feel free to create a PR if you must :)

@flexdinesh flexdinesh added the help wanted Extra attention is needed label Jan 23, 2019
@pratikgaloria
Copy link

@PaulRBerg
You can update your packages to newer versions of babel,

{
  "@babel/cli": "^7.4.4",
  "@babel/core": "^7.4.5",
  "@babel/plugin-proposal-class-properties": "^7.4.4",
  "@babel/polyfill": "^7.4.4",
  "@babel/preset-env": "^7.4.5",
  "babel-eslint": "^10.0.1",
  "babel-loader": "^8.0.6",
  "babel-preset-minify": "^0.5.0",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants