I also tried it with latest versions
{
“name”: “ecg-chart”,
“version”: “0.1.0”,
“private”: true,
“scripts”: {
“dev”: “next dev”,
“build”: “next build”,
“start”: “next start”,
“lint”: “next lint”
},
“dependencies”: {
“@canvasjs/react-charts”: “^1.0.0”,
“@emotion/react”: “^11.11.1”,
“@emotion/styled”: “^11.11.0”,
“@mui/material”: “^5.14.5”,
“eslint”: “8.47.0”,
“eslint-config-next”: “13.4.19”,
“formik”: “^2.4.3”,
“next”: “13.4.19”,
“react”: “18.2.0”,
“react-dom”: “18.2.0”,
“yup”: “^1.2.0”
}
}