#Upgrade Beta.128 - Module not found - lexical

5 messages · Page 1 of 1 (latest)

calm imp
#

./src/app/(payload)/admin/importMap.js
Module not found: Package path ./generateComponentMap is not exported from package node_modules@payloadcms\richtext-lexical (seImport trace for requested module:
./src/app/(payload)/layout.tsx

./src/app/(payload)/admin/importMap.js
Attempted import error: 'RichTextCell' is not exported from '@payloadcms/richtext-lexical/client' (imported as 'RichTextCell_0').

Import trace for requested module:
./src/app/(payload)/admin/importMap.js
./src/app/(payload)/layout.tsx

I get this error on building 128
https://github.com/payloadcms/payload/compare/v3.0.0-beta.127...v3.0.0-beta.128

I adjusted this file:
(app)/(payload)/layout.tsx

The other stuff i didnt need to touch

Does someone else have this error and knows how to address it?

GitHub

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for buildi...

calm imp
#

Ok, i needed to reset this file

src\app(payload)\admin\importMap.js
with empty array

And then when its running on pnpm dev it got regenerated

But now my admin panel doesnt have any styling 😄

calm imp
#

Ok just upgraded to 3.0.0
ALso needed to upgrade
"babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115",

if this happens for anyone