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

After executing ./prod and './met deploy', 'react-transform-hmr' problem occurs. #61

Closed
barkbaek opened this issue Sep 27, 2015 · 2 comments

Comments

@barkbaek
Copy link

In console, warning as

"Uncaught Error: locals[0] does not appear to be a module object with Hot Module replacement API enabled. You should disable react-transform-hmr in production by using env section in Babel configuration. See the example in README: https://github.com/gaearon/react-transform-hmr".

How can I fix this issue ?

@jedwards1211
Copy link
Owner

we need to fix this, I'll look into it

@jedwards1211
Copy link
Owner

Okay, just fixed this. If it's difficult to fetch again from this project, just copy the new .babelrc from this into your project.

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

2 participants