Skip to content

Issue running Scheduler component #454

Description

@selenaaasi

Hello, I try to install and use this package.
I installed same version of material ui as it is here (please se provided package.json)
{ "name": "calendar", "version": "0.1.0", "private": true, "dependencies": { "@aldabil/react-scheduler": "^3.1.2", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", "@mui/icons-material": "^7.3.2", "@mui/material": "^7.3.2", "@mui/x-date-pickers": "^7.29.4", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.8.0", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^13.5.0", "date-fns": "^4.1.0", "react": "^19.1.1", "react-dom": "^19.1.1", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "postinstall": "patch-package" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0" } }
But when I try to run code I got these errors:
Module not found: Error: Can't resolve '@mui/x-date-pickers/LocalizationProvider',
Module not found: Error: Can't resolve '@mui/x-date-pickers/AdapterDateFnsV3',
Module not found: Error: Can't resolve '@mui/x-date-pickers/DatePicker',
Module not found: Error: Can't resolve '@mui/x-date-pickers/DateTimePicker'
How to fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions