keystonejs / keystone-5

https://v5.keystonejs.com
MIT License
64 stars 33 forks source link

Missing Admin UI css dependency #101

Open dilignt opened 3 years ago

dilignt commented 3 years ago

Bug report

Describe the bug

After yarn upgrade I get the following error on the page when opening the admin UI. The file is missing from the repo in node_modules.

ERROR in <dir>/node_modules/@keystonejs/fields/node_modules/@keystonejs/fields/types/CalendarDay/views/Field/dist/fields.esm.js
Module not found: Error: Can't resolve 'react-day-picker/dist/style.css' in '<dir>node_modules\@keystonejs\fields\node_modules\@keystonejs\fields\types\CalendarDay\views\Field\dist'

Expected behaviour

The admin UI should work correctly

Screenshots

image

System information

kglns commented 3 years ago

@dilignt You can temporarily resolve it by moving node_modules/react-day-picker/style.css to node_modules/react-day-picker/dist/style.css

dilignt commented 3 years ago

Thanks @kglns