react-jupyter-notebook icon indicating copy to clipboard operation
react-jupyter-notebook copied to clipboard

issue when using library with Next.js

Open AlexFreik opened this issue 2 years ago • 1 comments

When i try to use this library i get the following error:

./node_modules/react-jupyter-notebook/node_modules/katex/dist/katex.min.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-jupyter-notebook/dist/index.js

it looks like this library library is incorrectly publishing css imports to npm.

relevant links:

  • https://nextjs.org/docs/messages/css-npm
  • https://github.com/vercel/next.js/issues/19936

AlexFreik avatar Sep 26 '22 10:09 AlexFreik