keystone-5
keystone-5 copied to clipboard
Missing Admin UI css dependency
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

System information
- OS: Windows 10
- Browser: Chrome
"@keystonejs/adapter-mongoose": "^9.0.1",
"@keystonejs/app-admin-ui": "^7.3.0",
"@keystonejs/app-graphql": "^6.1.0",
"@keystonejs/app-static": "^5.1.2",
"@keystonejs/auth-password": "^5.1.13",
"@keystonejs/fields": "^16.0.0",
"@keystonejs/fields-cloudinary-image": "^2.1.4",
"@keystonejs/fields-content": "^9.0.5",
"@keystonejs/fields-wysiwyg-tinymce": "^5.3.15",
"@keystonejs/file-adapters": "^7.0.8",
"@keystonejs/keystone": "^13.1.1",
"@keystonejs/list-plugins": "^7.1.1",
"@keystonejs/server-side-graphql-client": "^1.1.0",
"@keystonejs/utils": "^5.4.1",
"body-parser": "^1.19.0",
"connect-mongo": "^3.2.0",
@dilignt You can temporarily resolve it by moving node_modules/react-day-picker/style.css to node_modules/react-day-picker/dist/style.css
Thanks @kglns