Skip to content

TypeError: Cannot read property 'bool' of undefined #3

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

Open
hzburki opened this issue Aug 15, 2018 · 1 comment
Open

TypeError: Cannot read property 'bool' of undefined #3

hzburki opened this issue Aug 15, 2018 · 1 comment

Comments

@hzburki
Copy link

hzburki commented Aug 15, 2018

All I did was

import WakeLock from 'react-wakelock';

The following error appears:
=> react-wakelock/dist/android.js:33

30 | displayName: "WakeLockAndroid",
31 | 
32 | propTypes: {
> 33 |   preventSleep: _react2.default.PropTypes.bool
34 | },
@timrooke1991
Copy link

I had the same issue. I have submitted a pull request for this: #4

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