react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

Error in React build with v 4.8.0

Open L5eoneill opened this issue 3 years ago • 2 comments

Silly error but it's preventing successful build of React:

ERROR in ./node_modules/react-datepicker/dist/react-datepicker-cssmodules.css (./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/react-datepicker/dist/react-datepicker-cssmodules.css) Module build failed (from ./node_modules/css-loader/index.js): Missing whitespace before :global (485:1)

483 | background-color: #1d5d90; 484 | }

485 | :global .react-datepicker__day--in-selecting-range:not(:global .react-datepicker__day--in-range, | ^ 486 | :global .react-datepicker__month-text--in-range, 487 | :global .react-datepicker__quarter-text--in-range, 488 | :global .react-datepicker__year-text--in-range),

Syntax Error: Missing whitespace before :global (485:1)

L5eoneill avatar May 20 '22 21:05 L5eoneill

same for me, @L5eoneill , can you solve this error ?

duycuong87vn avatar Sep 12 '22 10:09 duycuong87vn