Uncaught TypeError: Cannot read property 'oneOf' of undefined
See original GitHub issueCall Stack:
index.js:415 Uncaught TypeError: Cannot read property 'oneOf' of undefined
at Object.169../utils.js (index.js:415)
at s (_prelude.js:1)
at _prelude.js:1
at Object.600.prop-types (Form.js:7)
at s (_prelude.js:1)
at _prelude.js:1
at Object.601.../reducers (FormContainer.js:5)
at s (_prelude.js:1)
at _prelude.js:1
at Object.598../ErrorBoundary (App.js:2)
The line it’s referring to:
timing: _react2.default.PropTypes.oneOf([// easing type
'ease', 'ease-in', 'ease-out', 'ease-in-out', 'linear', 'step-start', 'step-end']),
Conflict with React 16? Something else?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'oneOf' of ...
I am able to resolve the issue. Since I upgraded to react v15 to v16 the issue was with react-alert module as I...
Read more >Uncaught TypeError: Cannot read property '1' of undefined
This error occurs in Chrome Browser when you read a property or call a method on an undefined object . Uncaught TypeError: Cannot...
Read more >Cannot read properties of undefined (reading 'null') - Help
I think you are using the wrong variable name. var expiryDate = jsonData.accounts[i].dateOfBirth; pm.expect(dateOfBirth).to.be.oneOf([null,“ ...
Read more >Fix the "Cannot read property 'map' of undefined" Error in ...
The reason this works is that, while your data fetching is happening, React will call the map method on an empty data array....
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 Free
Top 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
grrr… try 0.8.3 😃
Thanks. I already updated to the separate
prop-types
package, but looks like I missed one location. Problem isReact.PropTypes
here https://github.com/moarwick/react-mt-svg-lines/blob/master/src/index.js#L27Will fix soon…