Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

next.js Global CSS cannot be imported from within node_modules. #67

Open

Description

@zhangwei900808

Describe the bug
wait - compiling...
error - ./node_modules/react-d3-heatmap/dist/styles/tooltip.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm

To Reproduce
Steps to reproduce the behavior:

  1. yarn add react-d3-heatmap
  2. yarn dev

Expected behavior

Screenshots
image

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