You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installing the latest Blocknote version 0.52.0 causes my application to break #2901
After upgrading from 0.51.4 to 0.52.0, my application fails at runtime with the following error:
Stack trace:
Uncaught (in promise) Error: Could not resolve "@y/prosemirror" imported by "@blocknote/core". Is it installed?
at chunk-C7GK7WMX.js?v=371df40f:36155:7
(anonymous) @ chunk-C7GK7WMX.js?v=371df40f:36155
thrownewError(`Could not resolve "@y/prosemirror" imported by "@blocknote/core". Is it installed?`);
I am not using any collaboration or Yjs-related features directly.
Note
Downgrading back to 0.51.4 resolves the issue.
What did you expect to happen?
I expected BlockNote 0.52.0 to work with the default editor setup without requiring any additional Yjs-related dependencies. Upgrading from 0.51.4 to 0.52.0 should not introduce runtime errors when using only @blocknote/core, @blocknote/react, and @blocknote/mantine.
Steps to reproduce
No response
BlockNote version
0.52.0
Environment
Mac OS
Additional context
No response
Contribution
I'd be interested in contributing a fix for this issue
Sponsor
I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Activity
nperez0111 commentedon Jul 20, 2026
Hm, I'll look into this issue, it should definitely not be pulling from that package
kulkish commentedon Jul 20, 2026
@nperez0111, could you please reopen the issue? I accidentally clicked Close by mistake 😅
fix(react): avoid importing @blocknote/core/y in the default UI (#2902)
nperez0111 commentedon Jul 20, 2026
Fixed it, thanks for reporting
kulkish commentedon Jul 20, 2026
This works like magic! ✨
@nperez0111 thanks for being so fast!