Skip to content

Global CSS cannot be imported from within node_modules. #51

Description

@felipemaion

While trying to use your package I've came across the following error:
⨯ ./node_modules/react-split-flap-display/dist/index.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-split-flap-display/dist/index.js

Import trace for requested module:
./node_modules/react-split-flap-display/dist/index.css
./node_modules/react-split-flap-display/dist/index.js

Is there any fix for this already?
Any way I can overcome this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions