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] Cannot read properties of null (reading 'useEffect') #90

Open
geekerio opened this issue Apr 29, 2024 · 1 comment
Open

[Bug] Cannot read properties of null (reading 'useEffect') #90

geekerio opened this issue Apr 29, 2024 · 1 comment
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@geekerio
Copy link

💻 系统环境 | Operating System

macOS

🌐 CLI 版本 | CLI Version

1.18.1

🐛 问题描述 | Bug Description

node: v20.10.0
os: macOS
运行 lobe-i18n -o 报错

ERROR Cannot read properties of null (reading 'useEffect')

node_modules/@lobehub/cli-ui/node_modules/react/cjs/react.development.js:1634:21

1631: }
1632: function useEffect(create, deps) {
1633: var dispatcher = resolveDispatcher();
1634: return dispatcher.useEffect(create, deps);
1635: }
1636: function useInsertionEffect(create, deps) {
1637: var dispatcher = resolveDispatcher();

  • useEffect (node_modules/@lobehub/cli-ui/node_modules/react/cjs/react.development.js:1634:21)
  • (node_modules/@lobehub/cli-ui/dist/index.js:1:4537)
  • renderWithHooks (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:6659:18)
  • updateFunctionComponent (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:10790:20)
  • updateSimpleMemoComponent (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:10627:10)
  • updateMemoComponent (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:10476:14)
  • beginWork (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:12885:16)
  • beginWork$1 (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:19608:14)
  • performUnitOfWork (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:18742:12)
  • workLoopSync (node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js:18648:5)

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

@geekerio geekerio added the 🐛 Bug Something isn't working | 缺陷 label Apr 29, 2024
@lobehubbot
Copy link
Member

👀 @geekerio

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label May 30, 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 | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃
Projects
None yet
Development

No branches or pull requests

2 participants