从控制台清除所有警告时,它会显示“您正在加载@emotion/react,而它已经加载了。运行多个实例......”

While clearing all the warnings from console it shows "You are loading @emotion/react when it is already loaded. Running multiple instances.."

提问人:Vipin N 提问时间:6/12/2023 最后编辑:Priyen MehtaVipin N 更新时间:6/12/2023 访问量:135

问:

我正在使用 react 18.2.0,我的 react select 版本是 5.7.3,应用程序抛出如下警告:“您正在加载 @emotion/react,而它已经加载了。运行多个实例可能会导致问题。如果使用多个版本,或者使用同一版本的多个版本,则可能会发生这种情况。

我尝试了npm ls并返回了这个:


├── @reduxjs/[email protected]
├── @testing-library/[email protected]
├── @testing-library/[email protected]
├── @testing-library/[email protected]
├── @wac-ui-dashboard/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── react-[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── r[email protected]
├── [email protected]
├── [email protected]
└── [email protected]

JavaScript ReactJS Next.js 控制台 警告

评论


答: 暂无答案