Skip to content

打包后执行npm run preview 打开地址报错 #4289

@binbin0916

Description

@binbin0916

在执行npm run build:prod生成dist文件后,执行 npm run preview 生成了一个 http://localhost:9526/ 地址,在浏览器打开之后页面空白,控制台有报错信息,但是我并未修改任何项目中的代码。(node 16.20.0 npm 8.19.4)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions