Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Admin UI css dependency #101

Open
dilignt opened this issue Feb 19, 2021 · 2 comments
Open

Missing Admin UI css dependency #101

dilignt opened this issue Feb 19, 2021 · 2 comments

Comments

@dilignt
Copy link

dilignt commented Feb 19, 2021

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

  • 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",
@kglns
Copy link

kglns commented Feb 20, 2021

@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
Copy link
Author

dilignt commented Feb 20, 2021

Thanks @kglns

@timleslie timleslie transferred this issue from keystonejs/keystone Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants