proptypes error in 0.9.1
See original GitHub issuehi! loving this package so far, and I just updated to take advantage of the custom rendering mode, but am now getting a warning in my console about using PropTypes directly:
Warning: Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types
I also see this same error message in the react-filestack.js
minified file
any help you can provide would be great, I do know that i’m using a slightly older react version than is specified in the devDependencies, but i’m using a version greater than that set in the peerDependencies. not sure if there’s anything else i can do on my end though.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
react native - Unable to resolve module prop-types, but grep ...
I am just learning React Native. Full error message is here: Unable to resolve module prop-types from /Users/raarts/work/MobileApp/app/ ...
Read more >PropTypes throwing errors in production? · Issue #17 - GitHub
Currently in React 15.5.0, PropTypes called manually can result in an Error being thrown in production.
Read more >unable to resolve module deprecated-react-native-prop-types
We need tell MetroJS bundler to compile .ts and .tsx files i solved this error by edit metro.config.js file in root project folder...
Read more >Typechecking With PropTypes - React
In this example, we're using PropTypes. string . When an invalid value is provided for a prop, a warning will be shown in...
Read more >PropTypes in React - CodeSandbox
Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@advance512 @rockia @phlare I updated the devDependencies versions of react and prop-types, this solved the problem in my test component importing react-filestack. Let me know if it doesn’t work. For now I close the issue.
@ZeroCho Thanks for being here to support.
Fixed. Thanks, @samuxyz.