-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TypeError: Cannot read property 'shape' of undefined #61
Comments
Bump. Getting the same error using the default create react app and the Get Started page. |
react 16.0.0 changed the behaviour. |
I confirm dowgrading to 15.6.2 works fine except theme is not applied in my case |
The install copypasta is out of date. It says to install version beta.6, but when installing separately yarn installs version beta.12. Which makes sense considering recent the react changes are. Beta.12 works perfectly with React 16. @aat-antoine you also import the css at the top level. I forgot that when i was starting it, might be the case. |
@drunkengranite same omission o_O. Thx, you are a life saver :) |
The version beta.12 indeed fixes this issue, however when I add specifically "react-toolbox": "2.0.0-beta.12" the old typing is still used. Is the updated version add to npm? |
Getting error when trying to see my app:
TypeError: Cannot read property 'shape' of undefined
./node_modules/react-css-themr/lib/utils/themr-shape.js
C:/Projects/reacttoolboxstarter/node_modules/react-css-themr/lib/utils/themr-shape.js:7
4 |
5 | var _react = require('react');
6 |
using react-toolbox-themr and react-toolbox 2.0.6 beta
read everything from readme... any help?
The text was updated successfully, but these errors were encountered: