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

With react >16.x, Uncaught TypeError: Cannot read property 'object' of undefined #2

Open
wickedest opened this issue Mar 31, 2018 · 0 comments

Comments

@wickedest
Copy link

React stack nav has a dependency on the old way PropTypes was bundled. Using react 16.x causes an exception:

Uncaught TypeError: Cannot read property 'object' of undefined
    at eval (webpack-internal:///./node_modules/react-stack-nav/lib/createOrchestrator.js:108)
    at eval (webpack-internal:///./src/App.js:1)
    at Object../src/App.js (bundle.js:10212)
    at __webpack_require__ (bundle.js:20)
    at eval (webpack-internal:///./src/index.js:1)
    at Object../src/index.js (bundle.js:10308)
    at __webpack_require__ (bundle.js:20)
    at eval (webpack-internal:///./web/index.js:1)
    at Object../web/index.js (bundle.js:10343)
    at __webpack_require__ (bundle.js:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant