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

Cannot read property 'number' of undefined #25

Open
DonghyunNa opened this issue Apr 18, 2018 · 3 comments
Open

Cannot read property 'number' of undefined #25

DonghyunNa opened this issue Apr 18, 2018 · 3 comments

Comments

@DonghyunNa
Copy link

Error: Requiring module "node_modules/react-native-view-editor/index.js", which threw an exception: TypeError: Cannot read property 'number' of undefined

I use react-native 0.55.0

Anyone have same problem?

@kunigiriindraja
Copy link

+1

@netdown
Copy link

netdown commented Jul 9, 2018

In ViewEditor.js, replace the first line with the following (proptypes is now under a different package):
import React, { Component } from 'react';
import PropTypes from 'prop-types';

Fixes the issue, however, this component needs more work to function well.

@eshantbist
Copy link

eshantbist commented Oct 30, 2018

Cannot read the 'style' of undefined
How to resolve this?

simulator screen shot - iphone 6 - 2018-10-30 at 15 10 08

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

4 participants