question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

proptypes error in 0.9.1

See original GitHub issue

hi! 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:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
samuxyzcommented, Jun 10, 2017

@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.

0reactions
advance512commented, Jun 12, 2017

Fixed. Thanks, @samuxyz.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found