Skip to content

Error in React build with v 4.8.0 #3639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
L5eoneill opened this issue May 20, 2022 · 3 comments
Closed

Error in React build with v 4.8.0 #3639

L5eoneill opened this issue May 20, 2022 · 3 comments
Labels

Comments

@L5eoneill
Copy link

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)

@duycuong87vn
Copy link

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

Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Jun 15, 2024
Copy link

github-actions bot commented May 3, 2025

This issue was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants