We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined is not an object (evaluating '_react.PropTypes.oneOfType') camera.js:46:26 loadModuleImplementation require.js:320:6 guardedLoadModule require.js:214:36 metroRequire require.js:136:24 consultasCamera.js:12 loadModuleImplementation require.js:320:6 guardedLoadModule require.js:214:36 metroRequire require.js:136:24 App.js:8 loadModuleImplementation require.js:320:6 guardedLoadModule require.js:214:36 metroRequire require.js:136:24 index.js:4 loadModuleImplementation require.js:320:6 guardedLoadModule require.js:207:45 metroRequire require.js:136:24 global code
static propTypes = { ...View.propTypes, aspect: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]), captureQuality: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]), country: PropTypes.string, onPlateRecognized: PropTypes.func, plateOutlineColor: PropTypes.string, showPlateOutline: PropTypes.bool, rotateMode: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]), torchMode: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]), touchToFocus: PropTypes.bool, };
The text was updated successfully, but these errors were encountered:
#24
PropTypes are not part of react any more. There is already a pull request for it. In a meanwhile simply rewrite imports of PropTypes in camera.js
Sorry, something went wrong.
Get resolved by importing inside the file import PropTypes from 'prop-types'; camera.js
The release version is so old, try to fetch the code from master
No branches or pull requests
undefined is not an object (evaluating '_react.PropTypes.oneOfType')
camera.js:46:26
loadModuleImplementation
require.js:320:6
guardedLoadModule
require.js:214:36
metroRequire
require.js:136:24
consultasCamera.js:12
loadModuleImplementation
require.js:320:6
guardedLoadModule
require.js:214:36
metroRequire
require.js:136:24
App.js:8
loadModuleImplementation
require.js:320:6
guardedLoadModule
require.js:214:36
metroRequire
require.js:136:24
index.js:4
loadModuleImplementation
require.js:320:6
guardedLoadModule
require.js:207:45
metroRequire
require.js:136:24
global code
The text was updated successfully, but these errors were encountered: