Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG] createContext is not a function #178

Open
PeiJM opened this issue Apr 24, 2024 · 0 comments
Open

🐛[BUG] createContext is not a function #178

PeiJM opened this issue Apr 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PeiJM
Copy link

PeiJM commented Apr 24, 2024

🐛 bug 描述

报错Uncaught Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function

📷 复现步骤

npx create-next-app@latest 创建项目
npm install antd antd-style -S
npm install @ant-design/pro-chat -S
正常引入之后使用prochat npm run dev 就会报错

© 版本信息

"@ant-design/pro-chat": "^1.13.1",
"antd": "^5.16.4",
"antd-style": "^3.6.2",
"next": "14.2.2",
"react": "^18",
"react-dom": "^18"

🚑 其他信息

image

@ONLY-yours ONLY-yours added the bug Something isn't working label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants