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

Module build failed: SyntaxError #191

Closed
achtan opened this issue May 11, 2016 · 4 comments
Closed

Module build failed: SyntaxError #191

achtan opened this issue May 11, 2016 · 4 comments

Comments

@achtan
Copy link

achtan commented May 11, 2016

hi, I'm getting this error:
https://www.dropbox.com/s/ist4p2vljk1d25y/Screenshot%202016-05-11%2016.01.07.png?dl=0

my package.json is:

....
  "devDependencies": {
    "@kadira/storybook": "^1.25.0",
    "babel-cli": "6.x.x",
    "babel-core": "6.x.x",
    "babel-eslint": "4.x.x",
    "babel-loader": "^6.2.4",
    "babel-plugin-transform-runtime": "6.x.x",
    "babel-polyfill": "6.x.x",
    "babel-preset-es2015": "6.x.x",
    "babel-preset-react": "^6.3.13",
    "babel-preset-stage-2": "6.x.x",
    "babel-register": "^6.8.0",
    "chai": "3.x.x",
    "eslint": "1.7.x",
    "eslint-plugin-babel": "2.x.x",
    "mocha": "2.x.x",
    "nodemon": "1.7.x",
    "webpack": "^1.9.11",
    "webpack-dev-middleware": "^1.2.0",
    "webpack-hot-middleware": "^2.9.1"
  },
  "dependencies": {
    "babel-runtime": "6.x.x",
    "react": "^15.0.2",
    "react-dom": "^15.0.2"
  }

any idea how to fix it?

@arunoda
Copy link
Member

arunoda commented May 12, 2016

Try updating storybook to the latest version. We had some issue, which removes the first preset in the babel config.

I think that's the issue here.

@achtan
Copy link
Author

achtan commented May 12, 2016

i have a latest version of SB "@kadira/storybook": "^1.25.0",
here is the rebo https://github.com/achtan/mo-admin-theme
it's a mix of https://github.com/kadirahq/npm-base and storybook

@arunoda
Copy link
Member

arunoda commented May 12, 2016

@achtan Thanks for the repo. I'll check.

@ndelangen
Copy link
Member

Please re-open if you are still experiencing this issue 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants