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 Report]: Next.js 类似的服务端渲染框架使用时,会出现 Cannot read property 'document' of undefined 报错 #1433

Closed
boyongjiong opened this issue Nov 21, 2023 · 1 comment · Fixed by #1434
Labels
bug Something isn't working

Comments

@boyongjiong
Copy link
Collaborator

发生了什么?

uni-app,引入官方简单地 demo,如下

import LogicFlow from "@logicflow/core";
报错TypeError: Cannot read property 'document' of undefined

logicflow/core版本

1.2.16

logicflow/extension版本

1.2.17

logicflow/engine版本

No response

浏览器&环境

No response

@boyongjiong boyongjiong added the bug Something isn't working label Nov 21, 2023
Copy link

github-actions bot commented Nov 21, 2023

该 issue 作为 Bug Report 所提供信息的不充分,被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。

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

Successfully merging a pull request may close this issue.

1 participant