Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Not able to use react-dates #109

Open
bippi opened this issue Jan 14, 2019 · 1 comment
Open

Not able to use react-dates #109

bippi opened this issue Jan 14, 2019 · 1 comment

Comments

@bippi
Copy link

bippi commented Jan 14, 2019

No description provided.

@bippi
Copy link
Author

bippi commented Jan 14, 2019

Using react-date module (https://github.com/airbnb/react-dates) gives me this error
`Error bootstrapping react app TypeError: Cannot read property 'createLTR' of undefined

  • ThemedStyleSheet.js:23 Object.createLTR
    [starter-kit-universally]/[react-with-styles]/lib/ThemedStyleSheet.js:23:47

  • withStyles.js:129 getStyleDef
    [starter-kit-universally]/[react-with-styles]/lib/withStyles.js:129:61

  • withStyles.js:147 getState
    [starter-kit-universally]/[react-with-styles]/lib/withStyles.js:147:17

  • withStyles.js:168 new WithStyles
    [starter-kit-universally]/[react-with-styles]/lib/withStyles.js:168:25

  • react-dom-server.node.development.js:2750 processChild
    [webpack:]/[react-dom]/cjs/react-dom-server.node.development.js:2750:1

  • react-dom-server.node.development.js:2716 resolve
    [webpack:]/[react-dom]/cjs/react-dom-server.node.development.js:2716:1

  • react-dom-server.node.development.js:3100 ReactDOMServerRenderer.render
    [webpack:]/[react-dom]/cjs/react-dom-server.node.development.js:3100:1

  • react-dom-server.node.development.js:3059 ReactDOMServerRenderer.read
    [webpack:]/[react-dom]/cjs/react-dom-server.node.development.js:3059:1

  • react-dom-server.node.development.js:3526 renderToString
    [webpack:]/[react-dom]/cjs/react-dom-server.node.development.js:3526:1

  • ssrEnabled.js:58 then
    C:/projects/starter-kit-universally/build/server/webpack:/server/middleware/ reactApplication/ssrEnabled.js:58:25`

I´ve tried all suggested fix (import 'react-dates/initialize') for this according to this thread airbnb/react-with-styles#137 but with no luck.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant