Closed manuargue closed 2 years ago
Hello @manuargue,
The library was developed upstream of React, did you install react in your project before installing react-mui-scheduler ?
Yes, sorry I forgot to mention that. I've also tried creating an app from scratch with npx create-react-app ./test
and then npm i --save react-mui-scheduler
inside ./test
. The warnings during npm install and errors during app launch are the same as reported above. My package.json
after creating the barebones react app contains:
"dependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^13.5.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
Perhaps would be useful to have a codepen or similar with the sample code. Would it be too much trouble to create one?
Here is a demo: https://codesandbox.io/s/relaxed-neumann-174pod?file=/src/App.js
Do not hesitate to reopen the issue if you have a problem.
So to be sure I understand this. I need to uninstall react, and uninstall this package. Then reinstall this package. Then reinstall react?
Hello. I created an empty project, install
react-mui-scheduler
, and copy-paste the example in the readme to give it a try, but it fails to run the app with error:There seems to be some problems with the dependencies:
Could you please help me to take a look? The component seems great btw! Thanks