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

Module not found: Package path ./style.css is not exported from package #9

Closed
@amkuchta

Description

@amkuchta

Reporting a Bug?

Using your repo with NextJS / Typescript, I'm getting the following error:

./pages/_app.tsx:6:0
Module not found: Package path ./style.css is not exported from package /Users/alexkuchta/Documents/Code/rmfer/front-end/node_modules/@nosferatu500/react-sortable-tree (see exports field in /Users/alexkuchta/Documents/Code/rmfer/front-end/node_modules/@nosferatu500/react-sortable-tree/package.json)
  4 | import '../styles/fontawesome.css';
  5 | import "react-loader-spinner/dist/loader/css/react-spinner-loader.css";
> 6 | import '@nosferatu500/react-sortable-tree/style.css'
  7 | 
  8 | function MyApp({ Component, pageProps }: AppProps) {
  9 |   return <Component {...pageProps} />;

Import trace for requested module:

https://nextjs.org/docs/messages/module-not-found

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