react-daterange-picker
react-daterange-picker copied to clipboard
Build fails using Parcel
node_modules/@matharumanpreet00/react-daterange-picker/node_modules/@material-ui/core/styles/createGenerateClassName.d.ts(1,10):
error TS2614: Module '"../../../../../../../../../myProjectPath/node_modules/jss/src"' has no exported member 'GenerateClassName'.
Did you mean to use 'import GenerateClassName from "../../../../../../../../../myProjectPath/node_modules/jss/src"' instead?
Probably related: https://github.com/flippingbitss/react-daterange-picker/issues/1
It seems that the import paths used are not correct.
Hey @Cristy94, I am not sure what is causing that. Maybe you could try changing the versions of TypeScript?
Maybe it's because I use MUI 4.9 and this package seems to use MUI 3.9? It does not work with Material UI 4?