Skip to content

global CSS error from prosemirror when upgrading to V0.10.0 #455

@Devoagency

Description

@Devoagency

Describe the bug
<what's going wrong!?>

When upgrading a Next.js application from

"@blocknote/core": "^0.9.6", "@blocknote/react": "^0.9.6",

to

"@blocknote/core": "^0.10.0", "@blocknote/react": "^0.10.0"

I'm getting a global CSS error from prosemirror.

[0] error - ./node_modules/prosemirror-tables/style/tables.css [0] Global CSS cannot be imported from within node_modules. [0] Read more: https://nextjs.org/docs/messages/css-npm [0] Location: node_modules/@blocknote/react/node_modules/@blocknote/core/dist/blocknote.js [0] [0] Import trace for requested module: [0] ./node_modules/prosemirror-tables/style/tables.css [0] ./node_modules/@blocknote/react/node_modules/@blocknote/core/dist/blocknote.js [0] ./node_modules/@blocknote/react/dist/blocknote-react.js

To Reproduce

Follow the installation steps provided here with a "next": "^13.1.6" application and try and run the application.

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingprio:highHigh priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions