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 #14644

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

We can play this game this way. @hramos you should try to read and understand our problem, instead of giving advice how to look answer on SO, and filling stupid forms. The case is clear, there is a problem, which was described well enough to understand. But you come with meaningless advices and asking for proper format of report, while every detail is given.

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

Alright then.

@hramos hramos closed this as completed Jun 20, 2017
@facebook facebook locked and limited conversation to collaborators Jun 20, 2017
@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