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 'string' of undefined | React.PropTypes | LayoutPropTypes.js #14643

Closed
gyetvan-andras opened this issue Jun 20, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@gyetvan-andras
Copy link

gyetvan-andras commented Jun 20, 2017

After deleting and reinstalling my node_modules folder, I'm facing an issue that I don't understand in LayoutPropTypes.js file.

In node_modules/react-native/Libraries/StyleSheet/LayoutPropTypes.js
The following variable is undefined : var ReactPropTypes = require('React').PropTypes;

react-native: 0.45.1
react: 16.0.0-alpha.12

Hey @hramos , don't close this issue giving an advice to search for solution on StackOverflow. It is a critical issue. My whole development is down because of this. And of course, first I tried to look an answer on StackOverflow, the only answer is to use prop-types package, but HOW in RN source?!

@hramos
Copy link
Contributor

hramos commented Jun 20, 2017

Did you try Reactiflux? If you really think this belongs in the issue tracker, at least make an effort to fill out the template. Thanks!

@hramos hramos closed this as completed Jun 20, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jun 20, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants