我尝试了npm install @emotion/react和npm install @emotion/styled解决方案,但未清除错误。
热心的帮助
"dependencies": {
"@emotion/styled": "^11.3.0",
"@material-ui/core": "^4.12.3",
"@mui/material": "^5.1.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"axios": "^0.24.0",
"chart.js": "^3.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"web-vitals": "^1.1.2"
},发布于 2021-11-10 09:02:13
您没有正确安装npm包,因此,请尝试使用此命令重新安装它们,这些包在package.json中缺失,未正确安装
npm install @emotion/styled
npm install @emotion/core
npm install @emotion/styled或者尝试使用--save标志安装它们
https://stackoverflow.com/questions/69910311
复制相似问题