react-select: Uncaught Error: Cannot find module 'create-react-class'
Uncaught Error: Cannot find module 'create-react-class'
at s (react-select.js:1)
at react-select.js:1
at Object.<anonymous> (react-select.js:823)
at Object.5../Async (react-select.js:2038)
at s (react-select.js:1)
at e (react-select.js:1)
at react-select.js:1
at react-select.js:1
at react-select.js:1
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 12
- Comments: 18 (1 by maintainers)
Same issue as @aluskin and @azotova. Also found that reverting to react-select@1.0.0-rc.3 and react-input-autosize@1.1.0 with react@15.5.4 solves the issue.
@agirton Thanks for looking into this! I use the builds from CDN:
I get two error messages:
My temporary fix is to use the previous versions of react-select and react-input-autosize (in this way I get react warnings but at least everything works):
Thanks, I will need to update the README, but you will need to include
create-react-classandprop-typesfrom the CDN if you don’t use a module bundler.