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

Unable to use this component in a Nextjs app #1799

Closed
sturlath opened this issue Oct 30, 2020 · 1 comment
Closed

Unable to use this component in a Nextjs app #1799

sturlath opened this issue Oct 30, 2020 · 1 comment

Comments

@sturlath
Copy link

I get the following error when trying to use the component in a Nextjs app

error - ./node_modules/@ag-grid-community/core/dist/styles/ag-grid.css Global CSS cannot be imported from within node_modules.

and a link to a possible fix on this end.

Is this something I can do to overcome this?

@dnlkoch
Copy link
Member

dnlkoch commented Nov 23, 2020

Hi @sturlath, we don't have any experience of using react-geo in a Next.js app (yet), but according to this issue importing css files from node_modules should be available since version next@^9.5.4-canary.10. Did you check that out? There are several other hints mentioned in the thread you might want to check as well.

@dnlkoch dnlkoch closed this as completed Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants