Skip to content

渲染进程使用node模块报错 #229

Open
@xifanfanxi

Description

@xifanfanxi

Describe the bug

Error: Dynamic require of "fs" is not supported

v2.1.0用的vite4没有问题
使用main分支用到了vite5, 没法直接使用node模块

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions