Skip to content
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

CSS require breaks import in Next.js #18

Closed
crberube opened this issue Jan 23, 2021 · 0 comments
Closed

CSS require breaks import in Next.js #18

crberube opened this issue Jan 23, 2021 · 0 comments
Assignees
Labels
good first issue Good for newcomers type:bug Something isn't working

Comments

@crberube
Copy link

The require of carousel.min.js does not work when using in a Next.js app. The following error occurs:

./node_modules/react-responsive-carousel/lib/styles/carousel.min.css
Global CSS cannot be imported from within node_modules.
Read more: https://err.sh/next.js/css-npm
Location: node_modules/@glideapps/glide-data-grid/dist/js/data-grid-overlay-editor/private/image-overlay-editor.js

Commenting out the require does allow the library to load.

@jassmith jassmith added type:bug Something isn't working good first issue Good for newcomers labels Jan 24, 2021
@jassmith jassmith self-assigned this Jan 24, 2021
Mano-16 pushed a commit to Mano-16/glide-data-grid-glide that referenced this issue Jul 17, 2024
feat: Added altKey in the grid selection event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants