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

Global CSS cannot be imported from within node_modules.bug: #418

Open
metaker opened this issue Jun 28, 2024 · 4 comments
Open

Global CSS cannot be imported from within node_modules.bug: #418

metaker opened this issue Jun 28, 2024 · 4 comments

Comments

@metaker
Copy link

metaker commented Jun 28, 2024

Provide environment information

Describe the bug

/node_modules/react-tweet/dist/twitter-theme/theme.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-tweet/dist/twitter-theme/tweet-container.js

After installing the package ...

To reproduce

Screenshot 2024-06-28 at 12 52 43 PM

Additional information

No response

@simonlc
Copy link

simonlc commented Jul 4, 2024

I'm getting too on remix/vite. Right now falling back to 0.4.2 works.

@cristianrdu
Copy link
Contributor

cristianrdu commented Jul 6, 2024

I'll be having a look at this. Thanks for finding the issue!

@Charuru
Copy link

Charuru commented Jul 20, 2024

I'll be having a look at this. Thanks for finding the issue!

Still happening for me.

@temidayo-falomo
Copy link

Not sure why, but it stopped happening for me when I switched my project to App Router.

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

5 participants