Closed tajultonim closed 1 month ago
Sorry. For some reason pnpm was downloading unmet peer dependencies for Lexical. I removed the node_modules folder then cleared pnpm cache and reinstalled dependencies. It's all seems good now.
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
No response
Payload Version
3.0.0-beta.90
Node Version
v20.9.0
Next.js Version
15.0.0-canary.104
Describe the Bug
After passing
lexicalEditor
aseditor
property in payload config, it is throwing errorThe requested module 'lexical' does not provide an export named '$createLineBreakNode'
. I tried removing the property and works as expected. So there is something wrong with that package or I am doing something wrong.Reproduction Steps
$npm run payload
This is my config file:
And when running
$npx payload
or$npm run payload
this is the error I am getting.Any solution?
Adapters and Plugins
richtext-lexical