Open zkeyword opened 6 years ago
Have you installed using npm command? I had the same problem because it isn't the last version instead use the last github repository version that resolve the proptypes deprecation.
UPDATE: You can find the answer here: #issues129
yes, i installed using npm command
I'm getting this error (when using Player component)
Cannot read property 'string' of undefined
this is from
Player.propTypes = {
url: React.PropTypes.string.isRequired
};
download prop-types package from node package manager and then import PropTypes from 'prop-types' and change React.PropTypes.string.isRequired to PropTypes.string.isRequired
"react": "^16.2.0", "react-native": "^0.51.0",