bananaoomarang / isomorphic-redux

Isomorphic Redux demo, with routing and async actions
https://medium.com/@bananaoomarang/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4
MIT License
455 stars 87 forks source link

getting server.jsx: Unexpected token (40:8) #45

Closed thehashrocket closed 7 years ago

thehashrocket commented 8 years ago

When trying to run the app, I'm hitting the following error:

terminal_ _-bash_ _147x38_and_gradebook

I cloned the app, ran npm install, and then npm run dev and immediately hit it. :/

Any idea what's going on?

bananaoomarang commented 8 years ago

This is strange, I can't reproduce this here after a fresh delete global modules and npm install.

It looks like babel is choking on Jsx, but I'm not sure why that would be, sine we're running the same configurations with the same modules.

If anyone else can reproduce that might help, but otherwise my best (if a little lame…) advice is to do a git reset --hard && git pull && rm -rf node_modules && npm i.

melervand commented 8 years ago

maybe you've forgot to include .babelrc and .eslintrc ?

wahengchang commented 7 years ago

same, and I could not find a way to fix it