react-daterange-picker icon indicating copy to clipboard operation
react-daterange-picker copied to clipboard

Build fails using Parcel

Open Cristy94 opened this issue 6 years ago • 2 comments

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.

Cristy94 avatar Mar 02 '20 23:03 Cristy94

Hey @Cristy94, I am not sure what is causing that. Maybe you could try changing the versions of TypeScript?

flippingbitss avatar Mar 03 '20 02:03 flippingbitss

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?

Cristy94 avatar Mar 03 '20 11:03 Cristy94