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

TypeError: Cannot read properties of null (reading 'useContext') at useContext (/my-AutoGPT-Next/node_modules/react/cjs/react.development.js:1618:21) #227

Open
6 of 10 tasks
uney opened this issue Jun 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@uney
Copy link

uney commented Jun 16, 2023

Please check that this issue hasn't been reported before

请检查之前没有报告过此问题

  • I searched previous Bug Reports didn't find any similar reports.我搜索了以前的 Bug Reports 没有找到任何类似的报告。

Expected Behavior/预期行为

After npm install and npm run dev, the app should be up and running

Current behaviour/当前行为

The app shows error with the following message

TypeError: Cannot read properties of null (reading 'useContext')
at useContext (/my-AutoGPT-Next/node_modules/react/cjs/react.development.js:1618:21)

Steps to reproduce/重现步骤

TypeError: Cannot read properties of null (reading 'useContext')
at useContext (/my-AutoGPT-Next/node_modules/react/cjs/react.development.js:1618:21)

Possible solution/可能的解决方案

No response

Which Operating Systems are you using?您使用的是哪种操作系统?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Acknowledgements致谢

  • My issue title is concise, descriptive, and in title casing.我的问题标题简明扼要,具有描述性,并且使用标题框
  • I have searched the existing issues to make sure this bug has not been reported yet.我已经搜索了现有问题以确保尚未报告此错误。
  • I am using the latest version of AutoGPT-Next-Web.我使用的是最新版本的 AutoGPT-Next-Web
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.我已经为维护者提供了足够的信息来重现和诊断问题。
@uney uney added the bug Something isn't working label Jun 16, 2023
@Dogtiti
Copy link
Collaborator

Dogtiti commented Jun 16, 2023

remove node_modules
try npm install again

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