keystonejs / keystone

The superpowered headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
9.18k stars 1.15k forks source link

@keystonejs/app-admin-ui@5.3.0 have bug. #2072

Closed bookyo closed 4 years ago

bookyo commented 4 years ago

i update @keystonejs/app-admin-ui to 5.3.0, and show this。

main.63734b16525552cd5898.bundle.js:112436 Uncaught Error: Cannot find module '@emotion/styled-base'
    at webpackMissingModule (main.63734b16525552cd5898.bundle.js:112436)
    at Module../components/Nav/index.js (main.63734b16525552cd5898.bundle.js:112436)
    at __webpack_require__ (bootstrap:766)
    at fn (bootstrap:129)
    at Module../index.js (main.63734b16525552cd5898.bundle.js:114347)
    at __webpack_require__ (bootstrap:766)
    at fn (bootstrap:129)
    at Object.0 (main.63734b16525552cd5898.bundle.js:121574)
    at __webpack_require__ (bootstrap:766)
    at bootstrap:901

and when i back to 5.2 , alse show this error? i dont know what happen..

MadeByMike commented 4 years ago

@bookyo can you try deleting your .yarnlock file and running yarn again? We had another person encounter this and this seemed to fix it.

We'll get back to you as soon as we know more.

Vultraz commented 4 years ago

Looks like emotion@11 will address this once it comes out too: https://github.com/emotion-js/emotion/pull/1575

bookyo commented 4 years ago

update package.json "@keystonejs/keystone": "^5.3.0" "@keystonejs/fields": "^6.0.0", "@keystonejs/fields-wysiwyg-tinymce": "^5.0.2",

then work right! i think is @keystonejs/keystone work.

bookyo commented 4 years ago

if only update @keystonejs/app-admin-ui to 5.3.0, adminui will work failed,even i install '@emotion/styled-base', adminui is also failed.

bookyo commented 4 years ago

after install @emotion/styled-base, into adminui right, but like http://127.0.0.1:3000/admin/videos/5de90c243a6a395daf1190bd url will show cant find client, i think is graphql client error.