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

Error on build #4

Open
shilpan opened this issue Jan 3, 2016 · 3 comments
Open

Error on build #4

shilpan opened this issue Jan 3, 2016 · 3 comments

Comments

@shilpan
Copy link

shilpan commented Jan 3, 2016

Hi,

After cloning and installing, I tried to run npm run build. I got the error:

ERROR in ./~/universal-redux/src/redux/middleware/index.js
Module parse failed: /Users/mozilla/universal-redux-simple-example/node_modules/universal-redux/src/redux/middleware/index.js Line 2: Unexpected token
You may need an appropriate loader to handle this file type.
| // user provided redux middleware
| export default {};
|
 @ ./~/universal-redux/lib/client.js 39:18-39

Am I doing something wrong here?

@bdefore
Copy link
Contributor

bdefore commented Jan 3, 2016

@shilpan This repo is not currently up to date. I've made a more minimal starter example here: https://github.com/bdefore/universal-redux-starter

@shilpan
Copy link
Author

shilpan commented Jan 3, 2016

@bdefore thanks! Your example worked just fine.

@bartolkaruza
Copy link
Owner

Changed the README adding a deprecation notice and pointing to your new starter @bdefore . Thanks for taking that up.

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

No branches or pull requests

3 participants