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

Can't read property render of undefined and Can't resolve 'material-ui/AutoComplete' #293

Open
berkott opened this issue Jun 17, 2019 · 2 comments

Comments

@berkott
Copy link

berkott commented Jun 17, 2019

I get this error when I try to do yarn start with my react application.

utils.js:

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var isStateLess = exports.isStateLess = function isStateLess(Component) {
  // return !Component.prototype.render;
    return !Component.render;
};

If I uncomment the line that says return !Component.prototype.render; and comment the one below. I get the error. I'm only getting this issue when using v5.0.0. Therefore I tried to switch to to 4.3.2 but then I get this error Module not found: Can't resolve 'material-ui/AutoComplete' Therefore for the time being I'm just editing the node modules and making a personal repo but is there a better solution?

Thanks

@ytkj
Copy link

ytkj commented Jun 25, 2019

same issue on may app, and berkott's work around work fine!

@markiing
Copy link

any updates?

ytkj added a commit to ytkj/redux-form-material-ui that referenced this issue Oct 3, 2019
ytkj added a commit to ytkj/redux-form-material-ui that referenced this issue Oct 6, 2019
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